Unreal source install issue

I assume you running OS X, it does not find Mono (aka .NET) runtime, do you have CodeX installed? Mono runt time by look of it should be part of depencies that download when you start setup, does this went successfuly? Can you check the file “/Volumes/Macintosh HD 2/Unreal Source/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe” exists?

can you try if it executes alone?

Ok. What am I doing wrong? I downloaded the source (three different ways now…), ran the setup.command, and tried to run the generateprojectfiles.command. I also ran this from terminal on one try with the same results. Setup runs and completes without issue. Here is what I get when I run generateprojectfiles.command…

Setting up Unreal Engine 4 project files…

Setting up Mono
/Volumes/Macintosh HD 2/Unreal Source/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool ‘/Volumes/Macintosh HD 2/Unreal Source/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe’: ApplicationName=’/Volumes/Macintosh HD 2/Unreal Source/UnrealEngine/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe’, CommandLine=’/noconfig @/var/folders/dc/zq3zkc1j4r3f_ltlnkc4k6r80000gp/T/tmp2d0d1e1.tmp’, CurrentDirectory=’/Volumes/Macintosh HD 2/Unreal Source/UnrealEngine/Engine/Source/Programs/DotNETCommon/DotNETUtilities’, Native error= Cannot find the specified file
Cannot open assembly ‘…/…/…/Binaries/DotNET/UnrealBuildTool.exe’: No such file or directory.
logout
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.

[Process completed]

What am I missing?

Thanks!

Yes. Setup ran successfully. I received no errors.

mcs.exe exists and is 1.8Mb on disk

Yes. Xcode is installed and updated. Yes. I am running OS X. Sierra… 10.12.3

It does not - bash can’t find MCS or MONO… I installed MONO by hand and it still won’t find it. I am locating now…

Currently fixing my PATH…

Ok. Mono is installed, I can get a mono --version from anywhere. Still same result when running makeprojectfiles

Created a quick .cs file - ran mcs and mono on that file and the exe it made and everything worked. Still can’t run makeprojectfiles…

FYI - I have run all the .sh and all run fine except for the makeprojectfiles. Even the one in the /build/batchfiles/mac folder. I don’t see any unrealbuildtool.exe anywhere in binaries… Also, what is the .tmp?

I am talking about fixmonofiles, fixdependencyfiles, setup mono, generatelldbinit… All those complete without error. I figured that I would trace back through the scripts and see what else was running…

I am just grasping at straws here now… I can xbuild unrealbuildtool.csproj

If that is any help…

What creates the unrealbuildtool.exe and puts it in the /binaries/dotnet folder?

Ok. This is another one of those issues that just fixed themselves… I walked into my office this morning with the intent to reinstall the OS and start over. I tried to run the createprojectfiles.coomand again, just to get a screenshot of the output for reference. It ran without issue. Anyone have any idea why? Nothing was different. Nothing updated last night. I had rebooted quite a few times throughout yesterday’s attempts. It just worked today. Oh well…

Many programs have problems with spaces in path names. Try to rename your folder names and run Setup.sh again, then GenerateProjectFiles.sh.