cannot open input file 'Delayimp.lib'

6.3k Views Asked by At

I am compiling a project under Visual Studio 2013 (OS: Windows 7). The Project is compiled with the Platform Toolset "Visual Studio 2008 (v90)". In the options I have set a dll to be loaded delayed like this:

/DELAYLOAD:"PluginPost.dlll"

The error I am getting is the following:

1>LINK : fatal error LNK1181: cannot open input file 'Delayimp.lib'

And now my question is the following. I know that I need the Delayimp.lib in order to load a dll delayed, but where do I find this Delayimp.lib?

Thank you in advance for any hints.

PS. I am compiling a 64 Bit application.

1

There are 1 best solutions below

1
On

Make sure to add ;C:\Windows\System32 to your PATH system variable at Control Panel\System and Security\System -> Advanced system settings -> Environment Variables. Also pay attention to not use unnecessary spaces between each path.

In Reference to:

https://rocket1.unrealengine.cloud.answerhub.com/questions/74685/ue431-preview-hot-recompile-cant-find-delayimplib.html