# i can't create c++ project, it's always fail to compile

**URL:** <https://forums.unrealengine.com/t/i-cant-create-c-project-its-always-fail-to-compile/1760983>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, CPP\
**Created:** [March 18, 2024, 8:09pm UTC](https://forums.unrealengine.com/t/i-cant-create-c-project-its-always-fail-to-compile/1760983 "2024-03-18T20:09:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S4int\_Marcus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@S4int\_Marcus](https://forums.unrealengine.com/u/S4int_Marcus)\
**Post date:** [March 18, 2024, 8:09pm UTC](https://forums.unrealengine.com/t/i-cant-create-c-project-its-always-fail-to-compile/1760983/1 "2024-03-18T20:09:20Z")

</div>

i’m new to unreal engine, and after downloaded the engine and start c++ project, i always came up with this

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

Running C:/Program Files/unreal engine/UE\_5.3/Engine/Build/BatchFiles/Build.bat Development Win64 -Project=“C:/Users/MSI GF63/Documents/Unreal Projects/MyProject10/MyProject10.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
Using bundled DotNet SDK version: 6.0.302  
Running UnrealBuildTool: dotnet “…..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Development Win64 -Project=“C:/Users/MSI GF63/Documents/Unreal Projects/MyProject10/MyProject10.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE  
Log file: C:\Users\MSI GF63\AppData\Local\UnrealBuildTool\Log.txt  
Creating makefile for MyProject10Editor (no existing makefile)  
@progress push 5%  
Parsing headers for MyProject10Editor  
Running Internal UnrealHeaderTool “C:\Users\MSI GF63\Documents\Unreal Projects\MyProject10\MyProject10.uproject” “C:\Users\MSI GF63\Documents\Unreal Projects\MyProject10\Intermediate\Build\Win64\MyProject10Editor\Development\MyProject10Editor.uhtmanifest” -WarningsAsErrors -installed  
Total of 4 written  
Reflection code generated for MyProject10Editor in 1.128669 seconds  
@progress pop  
Building MyProject10Editor…  
Using Visual Studio 2022 14.36.32545 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).  
[Upgrade]  
[Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:  
[Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5\_0  
[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in MyProject10Editor.Target.cs.  
[Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.  
[Upgrade]  
Determining max actions to execute in parallel (8 physical cores, 16 logical cores)  
Executing up to 8 processes, one per physical core  
Requested 1.5 GB memory per action, 1.62 GB available: limiting max parallel actions to 1  
------ Building 9 action(s) started ------  
[1/9] Compile [x64] SharedPCH.Engine.Cpp20.InclOrderUnreal5\_0.cpp  
[2/9] Compile [x64] MyProject10.init.gen.cpp  
[3/9] Compile [x64] MyProject10GameModeBase.gen.cpp  
[4/9] Compile [x64] MyProject10GameModeBase.cpp  
[5/9] Compile [x64] MyProject10.cpp  
[6/9] Resource Default.rc2  
[7/9] Link [x64] UnrealEditor-MyProject10.dll  
LINK : fatal error LNK1181: cannot open input file ‘delayimp.lib’  
[8/9] Link [x64] UnrealEditor-MyProject10.lib  
Creating library C:\Users\MSI GF63\Documents\Unreal Projects\MyProject10\Intermediate\Build\Win64\x64\UnrealEditor\Development\MyProject10\UnrealEditor-MyProject10.lib and object C:\Users\MSI GF63\Documents\Unreal Projects\MyProject10\Intermediate\Build\Win64\x64\UnrealEditor\Development\MyProject10\UnrealEditor-MyProject10.exp  
Total time in Parallel executor: 36.68 seconds  
Total execution time: 40.42 seconds

---

<div class="post-metadata">

**Author:** ![zer0chi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zer0chi](https://forums.unrealengine.com/u/zer0chi)\
**Post date:** [March 18, 2024, 8:53pm UTC](https://forums.unrealengine.com/t/i-cant-create-c-project-its-always-fail-to-compile/1760983/2 "2024-03-18T20:53:33Z")

</div>

> [@Fatal error LNK1181: cannot open input file 'delayimp.lib' in association with attempting to create a new plugin from a UE5 provided template](https://forums.unrealengine.com/t/fatal-error-lnk1181-cannot-open-input-file-delayimp-lib-in-association-with-attempting-to-create-a-new-plugin-from-a-ue5-provided-template/560614):
>
> Im not sure where to debug this, Im guessing that my VS project is trying to build something that doesnt exist, because I highly doubt this “delayimp.lib” cant be found as the unreal project that my plugin is living in was building just fine a few minutes ago with some custom C++ classes I had made in a separate plugin. How would one go about debugging this and digging deeper in the source? Can I configure the build system to provide more detailed data about whats happening behind the scenes he…

I am thinking you might have an issue that is similar to the above linked post.
