LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entr�e 'delayimp.lib'

Hello,

First time I post here, so sorry in advance.
I just start to use UE5 but i face some issue when I try to build my game. (windows only)

I had some issur with c++ but after installation of Visual studio it was ok.

Now I have this issue : (log)

LogUObjectHash: Compacting FUObjectHashTables data took 0.53ms
LogTurnkeySupport: Project requires temp target (Le plug-in Water est activé)
LogLauncherProfile: Unable to use promoted target - …/…/…/…/Projet/testt 5.4/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““D:/Unreal Engine/UE_5.4/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=62408 -project=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” -unrealexe=“D:\Unreal Engine\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -pa
ckage -build -pak -iostore -compressed -prereqs -archivedirectory=“D:/Unreal Engine/Projet/build” -clientconfig=Development” -nocompile -nocompileuat ]
UATHelper: Empaquetage (Windows): Running AutomationTool…
UATHelper: Empaquetage (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Empaquetage (Windows): Starting AutomationTool…
UATHelper: Empaquetage (Windows): Parsing command line: -ScriptsForProject=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=62408 -project=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/Unreal Engine/Projet/testt 5.4/testt.uproject” -unrealexe=“D:\Unreal Engine\UE_5.4\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“D
:/Unreal Engine/Projet/build” -clientconfig=Development -nocompile -nocompileuat
UATHelper: Empaquetage (Windows): Initializing script modules…
UATHelper: Empaquetage (Windows): Total script module initialization time: 0.38 s.
UATHelper: Empaquetage (Windows): Using C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\MSBuild.exe
UATHelper: Empaquetage (Windows): Executing commands…
UATHelper: Empaquetage (Windows): Installed Sdk validity:
UATHelper: Empaquetage (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.18362.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.19041.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Empaquetage (Windows): Scanning for envvar changes…
UATHelper: Empaquetage (Windows): … done!
UATHelper: Empaquetage (Windows): Cleaning Temp Paths…
UATHelper: Empaquetage (Windows): BUILD SUCCESSFUL
UATHelper: Empaquetage (Windows): Setting up ProjectParams for D:\Unreal Engine\Projet\testt 5.4\testt.uproject
UATHelper: Empaquetage (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Empaquetage (Windows): Running: D:\Unreal Engine\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “D:\Unreal Engine\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” testt Win64 Development -Project=“D:\Unreal Engine\Projet\testt 5.4\testt.uproject” -Manifest=“D:\Unreal Engine\Projet\testt 5.4\Intermediate\Build\Manifest.xml” -remoteini=“D:\Unreal Engine\Projet\testt 5.4” -skipdeploy -log=“C:\Users\babem\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+UE_5.4\UBA-testt-Win64-Development.txt”
UATHelper: Empaquetage (Windows): Log file: C:\Users\babem\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+UE_5.4\UBA-testt-Win64-Development.txt
UATHelper: Empaquetage (Windows): Creating makefile for testt (manifest ‘D:\Unreal Engine\Projet\testt 5.4\Intermediate\Build\Manifest.xml’ not found)
UATHelper: Empaquetage (Windows): Writing manifest to D:\Unreal Engine\Projet\testt 5.4\Intermediate\Build\Manifest.xml
UATHelper: Empaquetage (Windows): Building testt…
UATHelper: Empaquetage (Windows): Using Visual Studio 2022 14.38.33135 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Empaquetage (Windows): [Adaptive Build] Excluded from testt unity file: testt.cpp
UATHelper: Empaquetage (Windows): Determining max actions to execute in parallel (6 physical cores, 6 logical cores)
UATHelper: Empaquetage (Windows): Executing up to 6 processes, one per physical core
UATHelper: Empaquetage (Windows): Using Parallel executor to run 2 action(s)
UATHelper: Empaquetage (Windows): ------ Building 2 action(s) started ------
UATHelper: Empaquetage (Windows): [1/2] Link [x64] testt.exe
UATHelper: Empaquetage (Windows): LINK : fatal error LNK1181: impossible d’ouvrir le fichier en entr�e ‘delayimp.lib’
UATHelper: Empaquetage (Windows): Total time in Parallel executor: 4.78 seconds
UATHelper: Empaquetage (Windows): Total execution time: 7.63 seconds
UATHelper: Empaquetage (Windows): Took 7,81s to run dotnet.exe, ExitCode=6
UATHelper: Empaquetage (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\babem\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal+Engine+UE_5.4\UBA-testt-Win64-Development.txt)
UATHelper: Empaquetage (Windows): AutomationTool executed for 0h 0m 11s
UATHelper: Empaquetage (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Empaquetage (Windows): BUILD FAILED

I have install VS2022 on my C: drive but no changed.
Is someone have an idea to resolve ?

Thanks in advance.

1 Like

“C:Program FilesMicrosoft Visual Studio2022CommunityVCToolsMSVC<sürüm>libx64”
Check if there is delayimp.lib in this folder, my mistake was that there were 3 different versions, I deleted the other files except for the one with the delayimp.lib folder in it, it was successful For those who can’t find an answer,