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

-1

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.

c++
unreal-engine4
asked on Stack Overflow Sep 1, 2019 by Oscar Hurst

3 Answers

0

There could be something wrong with your installation of visual studio. Check your Visual Studio installer and ensure that the Game development with C++ workload is ticked. I typically also install the .NET Framework 4.6.2 SDK and targeting pack under the individual components list.

In your case it seems to be looking for Visual Studio 2017, so try the steps above with 2017 first.

answered on Stack Overflow Sep 3, 2019 by smurmann
0

I had similar problem after my pc shutdown

after backing up everything I removed all folders except source, content and config than generated virtual studio files using .uproject

problem solved :)

answered on Stack Overflow Mar 15, 2020 by SWS
-1

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

answered on Stack Overflow Oct 1, 2019 by Oscar Hurst

User contributions licensed under CC BY-SA 3.0