Archived

This topic is now archived and is closed to further replies.

DInput link problems with Dev-C++ and mingw

This topic is 5126 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I try to use DirectX9 together with Dev-C++. After a lot of linking problems I downloaded the newest version of Dev-C++ and installed the DirectX9 dev pak via update manager. Most of the linker error did not show up again. The only ones I have now is: [Linker error] undefined reference to `c_dfDIKeyboard'' [Linker error] undefined reference to `c_dfDIMouse2'' [Linker error] undefined reference to `??3@YAXPAX@Z'' etc. I do not know what to do now. I link to following libs: libdxguid.a libd3d9.a libd3dx9.a libdinput8.a Does anybody have a solution? This thing really drives me crazy. Thanks in advance The Wild Wild West - Desperado!

Share this post


Link to post
Share on other sites
do u have the Dev-cpp DX8 pack ?? if yes, try include the file "dinput.c" inside the libs folder, this file have all directinput GUID define that missing.

Share this post


Link to post
Share on other sites
This worked for all linker errors related to DInput.
But now I still have a lot of errors of this type:

[Linker error] undefined reference to `??3@YAXPAX@Z''

Can you help me again?


The Wild Wild West - Desperado!

Share this post


Link to post
Share on other sites