Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-01-13 13:34:03


Michael Qi wrote:
>> Hi list users,
>> I am using VC.net 2003 and use boost installer to install boost.
>> I read the getting started guide and when link got an error.
>> I configured VC to Multithreaded and the compilation succeeded, the
>> link error is:
>> LINK : fatal error LNK1104: could not open file
>> "libboost_regex-vc71-mt-sgd-1_34_1.lib"
>>
>> and in boost lib directory the file libboost_regex-vc71-mt-1_34_1.lib
>> existed, not the one with "sgd"
>>
>> Why VC¡¡want sgd? Any suggestion is welcomed:)

You should have both library files, libboost_regex-vc71-mt-1_34_1.lib is for
linking against the *release dll runtime*, while
libboost_regex-vc71-mt-sgd-1_34_1.lib is for when you are linking against
the *debug static VC runtime*.

Did you download and install all the VC71 binaries offered to you?

HTH, John.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net