Hi, I’m trying to build an example UE4 project using UnrealBuildTool.exe
on my 64-bit Windows 10 machine.
I have chosen the “Flying” example to test this and I named the project as “Test4Git”.
For testing, I have just added a class and levels.
It is obvious that, with the Unreal Editor, the build was successful and I clicked the play button.
# C:\Users\\Documents\Unreal Projects\Test4Git\Saved\Logs\Test4Git.log
[2017.07.05-06.26.16:259][ 0]LogFileCache: Scanning file cache for directory 'C:/Users//Documents/Unreal Projects/Test4Git/Content/' took 0.04s
[2017.07.05-06.26.16:259][ 0]LogCook:Display: Max memory allowance for cook 16384mb min free memory 0mb
[2017.07.05-06.26.16:259][ 0]LogCook:Display: Mobile HDR setting 1
[2017.07.05-06.26.19:167][ 0]Cmd: MAP LOAD FILE="../../../../../../Users//Documents/Unreal Projects/Test4Git/Content/FlyingBP/Maps/FlyingExampleMap.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
[2017.07.05-06.26.19:192][ 0]LightingResults: New page: Lighting Build
[2017.07.05-06.26.19:367][ 0]MapCheck: New page: Map Check
[2017.07.05-06.26.19:367][ 0]LightingResults: New page: Lighting Build
[2017.07.05-06.26.21:364][ 0]LogAIModule: Creating AISystem for world FlyingExampleMap
[2017.07.05-06.26.21:703][ 0]LogEditorServer: Finished looking for orphan Actors (0.000 secs)
[2017.07.05-06.26.21:718][ 0]Cmd: MAP CHECKDEP NOCLEARLOG
[2017.07.05-06.26.21:783][ 0]MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 64.642ms to complete.
Whereas the command line for building this returns an error message.
# Win10 CMD
C:\Program Files\Epic Games\UE_4.14\Engine\Binaries\DotNET>UnrealBuildTool.exe Test4Git Win64 Development -Project="C:\Users\\Documents\Unreal Projects\Test4Git\Test4Git.uproject" -NoUBTMak
Performing full C++ include scan (building a new target)
Creating makefile for Test4Git (no existing makefile)
Parsing headers for Test4Git
Running UnrealHeaderTool "C:\Users\\Documents\Unreal Projects\Test4Git\Test4Git.uproject" "C:\Users\\Documents\Unreal Projects\Test4Git\Intermediate\Build\Win64\Test4Git\Development\Test4Git.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for Test4Git in 10.3458763 seconds
ERROR: Windows SDK v8.1 must be installed in order to build this target.
To sum up my questions;
- I had a hard time finding what to type at the command line.
I couldn’t find any options related to WIN64
, NoUBTMak
or more in the UE4 Documentation page([Configuring Unreal Build System][2], [Command-Line Arguments][3])
Until now, I have referred other threads([Proper way of using UnrealBuildTool.exe from the command line?][4]) to type the commands.
How should I change the command parameters to make it build the project?
- From the “[Error windows SDK v8.1 must be installed in order to build this target][5]” thread, it recommends to download the Windows SDK to solve this.
Since the Unreal Editor builds this project, do I really need to download the SDK?
-Best Regards,