Code::Blocks Forums

User forums => Help => Topic started by: Guest on February 05, 2005, 09:41:49 pm

Title: Where do we add libraries to compile against?(MinGW) (Win32)
Post by: Guest on February 05, 2005, 09:41:49 pm
The OpenGL app compiles fine but I am starting to do some DirectInput programming and I need to link against the dinput library... I think I have been through every compiler / linker page but I can't find out where to add additional libraries

Stumped in Canada... :(
Title: Where do we add libraries to compile against?(MinGW) (Win32)
Post by: mandrav on February 05, 2005, 11:59:47 pm
Go to project's build options and add them in the "Linker options".
E.g. for DirectInput, add
Code

-ldxguid
-ldinput8


Yiannis.