Search code examples
c++unreal-engine4

Unreal Engine 4 Basic C++ Code Project giving compile error


I have been having this a problem when loading up a "Basic C++ Code Project" and have had absolutely no success due to lack of information.

The error is as follows:

Running E:/Program Files/Epic Games/UE_4.22/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project="D:/[My-User]/Documents/Code/[Project Root Dir]/[Project]/[Project].uproject" -TargetType=Editor -Progress -NoHotReloadFromIDE
 Creating makefile for [Project]Editor (no existing makefile)
 @progress push 5%
 Parsing headers for [Project]Editor
   Running UnrealHeaderTool "D:\[My-User]\Documents\Code\[Project Root Dir]\[Project]\[Project].uproject" "D:\[My-User]\Documents\Code\[Project Root Dir]\[Project]\Intermediate\Build\Win64\[Project]Editor\Development\[Project]Editor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
 Reflection code generated for [Project]Editor in 8.2032876 seconds
 @progress pop
 Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
 ERROR: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
           at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
           at UnrealBuildTool.XGE.ExecuteTaskFile(String TaskFilePath, DataReceivedEventHandler OutputEventHandler, Int32 ActionCount) in D:\Build\++UE4\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Executors\XGE.cs:line 493

If there is any more information relating to this problem I am happy to provide it.


Solution

  • I figured out the issue. It didn't like using UE 4.22.3 for some reason... Thanks for the help guys!