PDA

View Full Version : Including libs on windows



ucomesdag
17th August 2007, 05:06
Hi all,

Noticed something after upgrading to 4.3.1 on windows, I always used:

LIBS += /path/to/your/lib/Libfile.liband it seems broken and gives only linker error's and replacing it by:

LIBS += -L/path/to/your/lib -lLibfileseems to fix it.

Is there an explanation why it stopped working did I forget to configure something?

Thanks!

rajesh
17th August 2007, 07:08
why not you set lib path in windows environment.
what IDE you using?

maverick_pol
17th August 2007, 09:31
Hi,

I have always been using this type of code:

LIBS += -L libPATH -llib1 -llib2...

What's your OS and IDE?

Maverick