PDA

View Full Version : Link problem



pl01
10th November 2010, 12:37
Hi,

I'm currently working with Boost 1.44 and QT Creator 2.9.2. I try to link my libraries but I got the following error message :


C:\PolarLights\Studio\PureLight\PureLight-build-desktop/../Device.cpp:145: error: undefined reference to `_imp___ZN5boost6thread9interruptEv'

What is strange is that I previously build it without problem !!! Does someone has an idea of the problem ?

In my "pro" file I have this :



QT -= core gui
QT += opengl

TARGET = PureLight
TEMPLATE = lib
CONFIG += dll

DEFINES += PURELIGHT_LIBRARY
...
INCLUDEPATH += "C:/Boost_1_44_0"
DEPENDPATH += "C:/Boost_1_44_0"

win32:CONFIG(release, debug|release): LIBS += "C:/Boost_1_44_0/lib/libboost_thread.a"
else:win32:CONFIG(debug, debug|release): LIBS += "C:/Boost_1_44_0/lib/libboost_thread.a"


Thanks for your help