This is what I did in chronological order:
I opened “command prompt” and dragged and dropped the “Setup” file (Windows Batch file) from the folder in command prompt and ran it by pressing enter on the keyboard, worked fine.
Than I dragged and dropped the “GenerateProjectFiles” file (Windows Batch file) from the folder and ran it in command prompt, everything is 100% completed and no errors.
Than I opened up the “UE4.Sln” File, I let everything parse and load in visual studio 2017, I enabled “Game Development with C++” when I was installing visual studio 2017.
When everything is done loading I right clicked on “UE4” in visual studio and press “build” and this is where the problem is, once its done compiling there are 15 errors.
Severity Code Description Project File Line Suppression State
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3075 The command “…..\Build\BatchFiles\Build.bat ShaderCompileWorker Win64 Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command. ShaderCompileWorker C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ UE4 C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib UE4 C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error UnrealHeaderTool failed for target ‘UE4Editor’ (platform: Win64, module info: C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor.uhtmanifest, exit code: OtherCompilationError (5)). UE4 C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\EXEC 1
Error MSB3075 The command “…..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command. UE4 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 44
========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========
And Im aware of the “Shadercompileworker” so i rebuild the file in Visual Studio and these are the errors Im getting
Severity Code Description Project File Line Suppression State
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error C2760 syntax error: unexpected token ‘identifier’, expected ‘type specifier’ ShaderCompileWorker C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h 229
Error Failed to produce item: C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\Build\Win64\ShaderCompileWorker\Development\ShaderCompileWorker-Core.lib ShaderCompileWorker C:\Users\Downloads\UnrealEngine-FleX-4.17.1\Engine\Intermediate\ProjectFiles\ERROR 1
Error MSB3073 The command “…..\Build\BatchFiles\Rebuild.bat ShaderCompileWorker Win64 Development -waitmutex” exited with code -1. ShaderCompileWorker C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets 49
Can someone please let me know what I need to do to fix this problem?