Proper way of using UnrealBuildTool.exe from the command line?
I am trying to use this command from the command line (tweaked from what I see in the editor, with one option off):
"C:\Program Files\Unreal Engine\4.0\Engine\Binaries\DotNET\UnrealBuildTool.exe" MyProject5 -ModuleWithSuffix MyProject5 9024 Win64 Development -editorrecompile "C:\dev\Unreal\Projects\MyProject5\MyProject5.uproject"
I am getting these errors:
Could not parse Engine Version from ObjectVersion.cpp: Could not find a part of the path 'C:\Program Files\Unreal Engine\4.0\Engine\Source\Runtime\Core\Private\UObject\ObjectVersion.cpp'. ERROR: Couldn't find module rules file for module 'MCPP'.
What would be the correct command line?
asked Apr 07 '14 at 08:35 PM in C++ Programming
You could make a batch file like this
Btw, why does it look like you are building from what looks like a directory from the installed version of unreal 4? Did you drag and drop the github stuff directly into your unreal 4 install or something? I'm pretty sure that's not how it's supposed to be done.
This worked in my case:
Note that you have to attach "Editor" suffix to first argument. The build.bat available in BatchFiles folder calles UnrealHeaderTool. Arguments must be in this exact order.
Follow this question
Once you sign in you will be able to subscribe for any updates here