Author Topic: Where do we add libraries to compile against?(MinGW) (Win32)  (Read 4782 times)

Guest

  • Guest
Where do we add libraries to compile against?(MinGW) (Win32)
« 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... :(

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Where do we add libraries to compile against?(MinGW) (Win32)
« Reply #1 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: [Select]

-ldxguid
-ldinput8


Yiannis.
Be patient!
This bug will be fixed soon...