[Qt-interest] help on qmake code for linking boost library

Matthias Pospiech matthias.pospiech at gmx.de
Sat Jan 30 17:51:29 CET 2010


I get the following error in the linker
        link /NOLOGO /DEBUG /DLL /MANIFEST 
/MANIFESTFILE:"debug\source-highlight
d.intermediate.manifest" /VERSION:3.01 
/OUT:..\..\lib\source-highlightd3.dll @C:
\Users\Matthias\AppData\Local\Temp\nm77C8.tmp
LINK : fatal error LNK1104: cannot open file 
'libboost_regex-vc80-mt-gd-1_41.lib'

The lib was added with:

win32{
    CONFIG           += debug_and_release
    CONFIG           += build_all
}
DEV_LIB_PATH = C:\Users\Matthias\Documents\SVN\Library
win32-msvc2005 {
    debug:  BOOST_LIB_PATH = 
$${DEV_LIB_PATH}\lib\msvc-2005\boost\regex\debug
    release:BOOST_LIB_PATH = 
$${DEV_LIB_PATH}\lib\msvc-2005\boost\regex\release
}
win32-msvc2005{       
    debug:  BOOST_LIBRARIES = -L$${BOOST_LIB_PATH} 
-llibboost_regex-vc80-mt-gd-1_41
    release:BOOST_LIBRARIES = -L$${BOOST_LIB_PATH} 
-llibboost_regex-vc80-mt-1_41
}

LIBS += $${BOOST_LIBRARIES}

The file exists at
C:\Users\Matthias\Documents\SVN\Library\lib\msvc-2005\boost\regex\debug\libboost_regex-vc80-mt-gd-1_41.lib

What can I check now? I do not see where the error is located.

Matthias




More information about the Qt-interest-old mailing list