Download

Cannot create a C++ project getting a compile error

Hello everyone,

i have a Problem with compiling C++ Projects…



The project could not be compiled. Would you like to open it in Visual Studio?

Running D:/UnrealEngines/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe aaaaaaaaaaaaaaaa Development Win64 -project="D:/Projects/_Unreal_Projects/aaaaaaaaaaaaaaaa/aaaaaaaaaaaaaaaa.uproject" -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for aaaaaaaaaaaaaaaa (no existing makefile)
@progress push 5%
Parsing headers for aaaaaaaaaaaaaaaaEditor
  Running UnrealHeaderTool "D:\Projects\_Unreal_Projects\aaaaaaaaaaaaaaaa\aaaaaaaaaaaaaaaa.uproject" "D:\Projects\_Unreal_Projects\aaaaaaaaaaaaaaaa\Intermediate\Build\Win64\aaaaaaaaaaaaaaaaEditor\Development\aaaaaaaaaaaaaaaaEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
Reflection code generated for aaaaaaaaaaaaaaaaEditor in 7,9608399 seconds
@progress pop
Performing 15 actions (4 in parallel)
[2/15] Resource ModuleVersionResource.rc.inl
[3/15] Resource PCLaunch.rc

Unbehandelte Ausnahme: UnrealBuildTool.BuildException: ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe/nologo /D_WIN64 /l 0x409 /I "D:\UnrealEngines\UE_4.17\Engine\Source" /DIS_PROGRAM=0 /DUE_EDITOR=1 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CACHE_FREED_OS_ALLOCS=1 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /fo "D:\UnrealEngines\UE_4.17\Engine\Intermediate\Build\Win64\UE4Editor\Development\ModuleVersionResource.rc.inl.res"  "D:\UnrealEngines\UE_4.17\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl"
System.ComponentModel.Win32Exception (0x80004005): Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei UnrealBuildTool.ActionThread.ThreadFunc() ---> System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei UnrealBuildTool.ActionThread.ThreadFunc()
   --- Ende der internen Ausnahmestapel?berwachung ---
   bei UnrealBuildTool.ActionThread.ThreadFunc()
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

Unbehandelte Ausnahme: UnrealBuildTool.BuildException: ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe /nologo /D_WIN64 /l 0x409 /I "D:\UnrealEngines\UE_4.17\Engine\Source" /DIS_PROGRAM=0 /DUE_EDITOR=1 /DWITH_DEV_AUTOMATION_TESTS=1 /DWITH_PERF_AUTOMATION_TESTS=1 /DUNICODE /D_UNICODE /D__UNREAL__ /DIS_MONOLITHIC=0 /DWITH_ENGINE=1 /DWITH_UNREAL_DEVELOPER_TOOLS=1 /DWITH_COREUOBJECT=1 /DUSE_STATS_WITHOUT_ENGINE=0 /DWITH_PLUGIN_SUPPORT=0 /DWITH_PERFCOUNTERS=1 /DUSE_LOGGING_IN_SHIPPING=0 /DWITH_LOGGING_TO_MEMORY=0 /DUSE_CACHE_FREED_OS_ALLOCS=1 /DUSE_CHECKS_IN_SHIPPING=0 /DUE_BUILD_MINIMAL=0 /DWITH_EDITOR=1 /DWITH_SERVER_CODE=1 /DWITH_CEF3=1 /DUBT_COMPILED_PLATFORM=Win64 /DUBT_COMPILED_TARGET=Editor /DWIN32=1 /D_WIN32_WINNT=0x0601 /DWINVER=0x0601 /DPLATFORM_WINDOWS=1 /DDEPTH_32_BIT_CONVERSION=0 /DNDEBUG=1 /DUE_BUILD_DEVELOPMENT=1 /DORIGINAL_FILE_NAME="UE4Editor-aaaaaaaaaaaaaaaa.dll" /fo "D:\UnrealEngines\UE_4.17\Engine\Intermediate\Build\Win64\UE4Editor\Development\aaaaaaaaaaaaaaaa\PCLaunch.rc.res"  "D:\UnrealEngines\UE_4.17\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc"
System.ComponentModel.Win32Exception (0x80004005): Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei UnrealBuildTool.ActionThread.ThreadFunc() ---> System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei UnrealBuildTool.ActionThread.ThreadFunc()
   --- Ende der internen Ausnahmestapel?berwachung ---
   bei UnrealBuildTool.ActionThread.ThreadFunc()
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()
SharedPCH.Engine.cpp
d:\unrealengines\ue_4.17\engine\source\runtime\core\public\windows\WindowsSystemIncludes.h(27): fatal error C1083: Datei (Include) kann nicht ge?ffnet werden: "intsafe.h": No such file or directory


and i know already were the problem is its this: ERROR: Failed to start local process for action: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe
this path only partly exists “C:\Program Files (x86)\Windows Kits\8.1\bin” but no 64bit Folder only the 32bit one (x86).

This is what i tried already:

  • Reinstalling Windows SDK 8.1
  • Reinstalling Visual Studio 2017
  • Reinstalling Unreal Engine 4.18.2 and 4.17.2 (Yes i get the same Error for both versions while compiling)

Maybe someone can help me :smiley:

Greetings Q

i just put another 4 hours into fixing this i think im going to drop learning unreal engine c++ even if i just buyed the c++ udemy curse :frowning:

1 Like

Try to reinstall OS? =) i had similliar problem and it helped me. By some reason i couldnt create C++ project in windows 10, so i installed my old windows 7 and everything works fine now.

There is something in the Visual Studio 2017 installer that you have to select for UE4 (UE4 integration or something like that).

Check this page and do exactly what they say: https://docs.unrealengine.com/latest/INT/Programming/Development/VisualStudioSetup/

@MarkcusD I just checked the Visual Studio installation and its already setup with the right settings but just to make sure it works i reinstalled VS2017 again with the settings described in the link above but it did not worked.
[USER=“807700”]Repin Design[/USER] thats the last thing i would try maybe when i have time but not really a solution for me right now :smiley:

Greetings Q

What if game project is just in Blueprint mode instead of C++ programming mode?