LNK1181 error on Build

hey , im doing this course Unreal Engine 5 C++ Developer: Learn C++ & Make Video Games

in video 44 i am asked to add new C++ class and then re build the project in VSC .

when i try to run the build im getting the next error - i spent all day trying to figure out what is the problem but unfortinatly i could manage to fiugure it out .

can someone please advice

  • Executing task in folder UE_5.4: Engine\Build\BatchFiles\Build.bat WarehouseWreckageEditor Win64 Development ‘H:\Users\Dan\Documents\Unreal Projects\WarehouseWreckage\WarehouseWreckage.uproject’ -waitmutex

Using bundled DotNet SDK version: 6.0.302
Running UnrealBuildTool: dotnet “…\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” WarehouseWreckageEditor Win64 Development “H:\Users\Dan\Documents\Unreal Projects\WarehouseWreckage\WarehouseWreckage.uproject” -waitmutex
Log file: C:\Users\Dan\AppData\Local\UnrealBuildTool\Log.txt
Building WarehouseWreckageEditor…
Using Visual Studio 2022 14.38.33144 toolchain (H:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.26100.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.Oldest
[Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in WarehouseWreckageEditor.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 (10 physical cores, 20 logical cores)
Executing up to 10 processes, one per physical core
Using Parallel executor to run 2 action(s)
------ Building 2 action(s) started ------
[1/2] Link [x64] UnrealEditor-WarehouseWreckage.dll
LINK : fatal error LNK1181: cannot open input file ‘delayimp.lib’
Total time in Parallel executor: 0.19 seconds
Total execution time: 0.67 seconds

Hi Rufos,
Sorry for the delay in replying.
This error looks to be connected to having more than one project open at the same time. While it often works, it somes does go a little strange. Try compiling the code in your code editor with no Unreal Engine opened and see if that resolves the issue.

Let me know how you get on.

Privacy & Terms