Saturday, January 19, 2008 11:05 PM
i getLINK : fatal error LNK1181: cannot open input file 'dinput.lib'
when i try to compile the bzflag file in the solution from
in win32 then in VC71 (after converting)
LINK : fatal error LNK1104: cannot open input file 'dinput.lib'
when i try to compile the VC8 one
i just want to compile it so i want to know how to fix it
Monday, January 21, 2008 2:35 AM
It means that your project has depends on “dinput.lib”, thus, you must make sure that “dinput.lib” exists in current directory or the “library Files” directory (you can get “library Files” directory at “Tools-->Options-->Projects and Solutions-->VC++ Directories-->Library Files”).
As far as I know, “dinput.lib” is a part of DirectX SDK. Thus, you should firstly install the DirectX SDK and then set up reference properly in Visual Studio. For detail information, you can read this thread.
Hope this helps!
Thursday, February 21, 2008 7:53 PM
dinput8.lib is part of the SDK, but not dinput.lib... which was pretty surprising.
Is this intentional? What's the rationale?
Friday, March 14, 2008 1:48 PMI don't know what the rationale is, but the latest DX8 SDK certainly doesn't include dinput.lib. You can still download it separately from other sites and just drop it in the /lib/ directory along with dinput8.lib. That will allow bzflag to compile without error. Just google dinput.lib and you'll find somewhere to download it.
Sunday, March 13, 2011 10:01 PM
The problem is :The missing "dinput.lib" from DXSDK9 is REALLY the incomplete lib path specification, which should be:
"../lib/x86" instead of "../lib".
Microsoft linker cannot find "dinput8.lib" because of the incomplete lib path, and searched for the old "dinput.lib".