|
Boost Users : |
Subject: Re: [Boost-users] [Program Options] Difficulty compiling for static runtime library
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-07-10 22:27:08
AMDG
Lindley M French wrote:
> I have a large project that I'd like to use Boost.Program Options with. Most of the other Visual Studio 2005 projects are set to link against "Multithreaded" or "Multithreaded Debug" rather than the DLL variants of same; so of course, I need to build Program Options accordingly.
>
> I tried this:
> bjam.exe" release --runtime-link=static program_options
>
> But that did not produce the library that VS wants, which is:
>
> libboost_program_options-vc80-mt-s-1_39.lib
>
Try
bjam release runtime-link=static --with-program_options
In Christ,
Steven Watanabe
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