|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2004-02-15 06:46:01
> I built boost 1.31.0 using bjam "-sTOOLS=VC7.1", and the static library
> names that are generated for regex do not match those generated by its
> header files. For example, one actual library name is:
>
> libboost_regex-VC7.1-mt-gd-1_31.lib
>
> Whereas, because of the "#pragma comment(lib, ..." stuff, the linker
> expects:
>
> libboost_regex-vc71-mt-gd-1_31.lib
>
> There's no header macro to disable automatic linking, so renaming the
> library is the easiest workaround.
BOOST_ALL_NO_LIB disables auto-linking.
But see also http://lists.boost.org/MailArchives/boost/msg60334.php
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