Boost Users :
From: Rainer Thaden (RThaden_at_[hidden])
Date: 2008-04-18 00:00:16
> 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 <boost/regex.hpp> 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
You either use dynamic linking and didn't specify the
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
That may help you.
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