Regex linker problem with VC7.1

14 Feb
2004
14 Feb
'04
4:11 p.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. Keith MacDonald

15 Feb
15 Feb
11:46 a.m.
BOOST_ALL_NO_LIB disables auto-linking. But see also http://lists.boost.org/MailArchives/boost/msg60334.php John.
7769
Age (days ago)
7770
Last active (days ago)
2 comments
2 participants
participants (2)
-
John Maddock
-
Keith MacDonald