Question about link in VC7.1
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:) Regards HeQi
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.
Hi john, thank you. I have installed the lib using the installer.
在 08-1-14,John Maddock
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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
John Maddock
-
Michael Qi