I’m trying to create a basic C++ project in UE4 v .5. I keep getting the following error.
The project could not be compiled. Would you like to open it in Visual Studio?
Running C:/Program Files/Epic Games//Engine/Binaries/DotNET/UnrealBuildTool.exe ForumTest Development Win64 -project=“F:/Course/ForumTest/ForumTest.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for ForumTestEditor
Running UnrealHeaderTool “F:\Course\ForumTest\ForumTest.uproject” “F:\Course\ForumTest\Intermediate\Build\Win64\ForumTestEditor\Development\ForumTestEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for ForumTestEditor in 4.1653033 seconds
@progress pop
Performing 7 actions (2 in parallel)
[2/7] Resource PCLaunch.rc
[3/7] Resource ModuleVersionResource.rc.inl
PCH.ForumTest.h.cpp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\crtdefs.h(10): fatal error C1083: Cannot open include file: ‘corecrt.h’: No such file or directory
ERROR: UBT ERROR: Failed to produce item: F:\Course\ForumTest\Binaries\Win64\UE4Editor-ForumTest.dll
Total build time: 10.71 seconds
I’ve tried a total of 16 times.
I’ve read forum after forum.
Things I’ve tried:
-
Changing the Project Location
-
Changing the ReadOnly Attribute of
the project location -
Setting Every .exe file in UE4 to Run
as administrator -
Switching off all firewalls
-
Switching off all anti-virus
-
Creating a project with Starter
Content -
Creating a project without Starter
Content -
Creating each of the various types of
project i.e. First Person, Vehicle
etc -
Checked VS to make sure C++ and
Common Tools are installed. -
Checked UE4 version to make sure
Engine Source and Editor Symbols for Debugging are installed -
Tried the VisualStudio route…Opened
in VS, build in VS, no error in VS,
Save in VS, Try reopening with UE4:
“ForumTest could not be compiled. Try rebuilding from source
manually.”
PLEASE someone help. Its just a basic C++ project, why is this so dificult?
Blueprint projects are created and run fine.