Download

Can't open a new project in C++ I get this Error message

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

Running C:/Program Files/Epic Games/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“C:/Users/Jaroslav Růžička/Desktop/Skola/Unreal Engine 4/MyProject2/MyProject2.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE
Creating makefile for MyProject2Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject2Editor
Running UnrealHeaderTool “C:\Users\Jaroslav R??i?ka\Desktop\Skola\Unreal Engine 4\MyProject2\MyProject2.uproject” “C:\Users\Jaroslav R??i?ka\Desktop\Skola\Unreal Engine 4\MyProject2\Intermediate\Build\Win64\MyProject2Editor\Development\MyProject2Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject2Editor in 14.612153 seconds
@progress pop
Building MyProject2Editor…
Using Visual Studio 2019 14.24.28316 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Distributing 11 actions to XGE
--------------------Build System Warning---------------------------------------
License is invalid:
License information is invalid. Please try reloading your license file using the Coordinator Monitor application on the Coordinator machine, or reinstall IncrediBuild.
This build will run in standalone mode.


--------------------Project: Default-------------------------------------------
SharedPCH.Engine.ShadowErrors.cpp
c1xx: fatal error C1083: Cannot open compiler intermediate file: ‘C:\Users\Jaroslav R???i??ka\Desktop\Skola\Unreal Engine 4\MyProject2\Intermediate\Build\Win64\MyProject2Editor\Development\Engine\SharedPCH.Engine.ShadowErrors.h.pch’: No such file or directory

Error executing C:\Program Files\Epic Games\UE_4.24\Engine\Build\Windows\cl-filter\cl-filter.exe (tool returned code: 2)
Default.rc2 (0:01.01 at +0:01)
---------------------- Done ----------------------

Rebuild All: 0 succeeded, 1 failed, 0 skipped

1 build system warning(s):

  • License is invalid

Halp I spend last 3 days trying to get it to work but I can’t seem to figure this out.

your incredibuild license expired, uninstall incredibuild and it should work fine

I did that and still got this :frowning:

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

Running C:/Program Files/Epic Games/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“C:/Users/Jaroslav Růžička/Desktop/Skola/Unreal Engine 4/MyProject3/MyProject3.uproject” -TargetType=Editor -Progress -NoHotReloadFromIDE
Creating makefile for MyProject3Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject3Editor
Running UnrealHeaderTool “C:\Users\Jaroslav R??i?ka\Desktop\Skola\Unreal Engine 4\MyProject3\MyProject3.uproject” “C:\Users\Jaroslav R??i?ka\Desktop\Skola\Unreal Engine 4\MyProject3\Intermediate\Build\Win64\MyProject3Editor\Development\MyProject3Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject3Editor in 18.3331929 seconds
@progress pop
Building MyProject3Editor…
Using Visual Studio 2019 14.24.28316 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314) and Windows 10.0.16299.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Distributing 11 actions to XGE
--------------------Project: Default-------------------------------------------
Default.rc2 (0:01.93 at +0:00)
SharedPCH.Engine.ShadowErrors.cpp
c1xx: fatal error C1083: Cannot open compiler intermediate file: ‘C:\Users\Jaroslav R???i??ka\Desktop\Skola\Unreal Engine 4\MyProject3\Intermediate\Build\Win64\MyProject3Editor\Development\Engine\SharedPCH.Engine.ShadowErrors.h.pch’: No such file or directory

Error executing C:\Program Files\Epic Games\UE_4.24\Engine\Build\Windows\cl-filter\cl-filter.exe (tool returned code: 2)
---------------------- Done ----------------------

Rebuild All: 0 succeeded, 1 failed, 0 skipped

It is failing because of special characters (ůžč) in your project path. You should never use spaces or special characters in the project path.

1 Like