
Larry wrote:
I built 1.35 on Windows XP using MS Visual Studio .NET 2003 using
bjam --toolset=msvc-7.1 install
No errors in the build.
Including
in a cpp file compiles OK using IDE but the link fails missing libboost_regex-vc71-mt-gd-1_35.lib and the lib is not present in the "install" lib directory. The project is being built with compiler option /MDd. Is this a Boost build failure or should I have specified something else to get the lib created or to use a different lib? Anyone know?
You either use dynamic linking and didn't specify the BOOST_ALL_DYN_LIB macro or you use static linking and the bjam default settings only build the shared libraries. Quoting from a post from 06/04/2008: The files with "lib" prefix are static libraries whereas the ones without "lib" are used for dynamic linking (DLLs). First decide, what you want to use, then build the appropriate files. with bjam use the option link=static or link=shared. Have a look at http://www.codeproject.com/KB/tips/Building_boost_libraries.aspx That may help you. Regards, Rainer