Boost logo

Boost :

Subject: Re: [boost] link error "can not open file"libboost_regex-vc80-mt-gd-1_36.lib"
From: John Maddock (john_at_[hidden])
Date: 2008-09-28 04:52:31


ipangth wrote:
>> I built boost_1.36_0 with vs2005, used command "bjam.exe
>> --build-dir="D:\src\boost_1_36_0" --toolset=msvc
>> --build-type=complete stage".
>> Then i built a project using regex, and link error "can not open file
>> "libboost_regex-vc80-mt-gd-1_36.lib" ".
>> I check the stage diretory, found regex libs:
>> libboost_regex-vc80-mt-s-1_36.lib
>> libboost_regex-vc80-mt-s.lib
>> libboost_regex-vc80-mt-sgd-1_36.lib
>> libboost_regex-vc80-mt-sgd.lib
>> libboost_regex-vc80-s-1_36.lib
>> libboost_regex-vc80-s.lib
>> libboost_regex-vc80-sgd-1_36.lib
>> libboost_regex-vc80-sgd.lib
>>
>> There are no "libboost_regex-vc80-mt-gd-1_36.lib" here.
>> How can i get the "libboost_regex-vc80-mt-gd-1_36.lib" ?

Somethings wrong with the build there, after

bjam --toolset=msvc --build-type=complete --with-regex stage

I see:

boost_regex-vc80-mt-1_37.dll
boost_regex-vc80-mt-1_37.lib
boost_regex-vc80-mt-gd-1_37.dll
boost_regex-vc80-mt-gd-1_37.lib
boost_regex-vc80-mt-gd.lib
boost_regex-vc80-mt.lib
boost_regex-vc90-mt-1_36.dll
boost_regex-vc90-mt-1_36.lib
boost_regex-vc90-mt.lib
libboost_regex-vc80-mt-1_37.lib
libboost_regex-vc80-mt-gd-1_37.lib
libboost_regex-vc80-mt-gd.lib
libboost_regex-vc80-mt-s-1_37.lib
libboost_regex-vc80-mt-s.lib
libboost_regex-vc80-mt-sgd-1_37.lib
libboost_regex-vc80-mt-sgd.lib
libboost_regex-vc80-mt.lib
libboost_regex-vc80-s-1_37.lib
libboost_regex-vc80-s.lib
libboost_regex-vc80-sgd-1_37.lib
libboost_regex-vc80-sgd.lib
libboost_regex-vc90-mt-1_36.lib
libboost_regex-vc90-mt.lib

where as you seem to only have libraries that correspond to the static msvc
runtime, can you try invoking the above command and see if you get a few
more libraries this time around?

HTH, John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk