
15 Feb
2004
15 Feb
'04
11:46 a.m.
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.