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.