Subject: Re: [boost] BJam optional settings with Visual Studio 2010
From: Lior Kogan (koganlior1_at_[hidden])
Date: 2011-07-01 00:32:05
To build VS2010 64-bit simple use
bjam --toolset=msvc-10.0 --build-type=complete architecture=x86
You can find a more complete answer here:
There is also a movie on YouTube "Compiling and configuring Boost C++
libraries for Visual Studio 2010"
which add some more details.
On Fri, Jul 1, 2011 at 2:35 AM, George Urakhchin <
> I'm new to Boost, and I searched for this problem, but could not find. When
> I first built Boost for Visual Studio 2010 (64-bit), I simply ran bjam.exe.
> I added the include and library paths as instructed and my simple test
> program, (the regex one on the Getting Started page) using Boost.Regex
> worked perfectly (Built and Ran). However, then when I ran bjam.exe with the
> following settings:
> Link=static,shared runtime-link=shared variant=debug,release
> threading=multi address-model=64 -a -q, it built successfully, but when I
> Built my VS2010 project, I started getting "unresolved external symbol"
> Does anyone have a clue to why this is? Perhaps I need to change some
> settings in my Visual Studio mode? Maybe the first time, it just used static
> libraries without any problems, but this time it's having problems with the
> shared libraries?
> Any help would be appreciated!
> CONFIDENTIALITY WARNING: This email including any attachments may contain
> privileged or confidential information and is for the sole use of the
> intended recipient(s). Any unauthorized use or disclosure of this
> communication is prohibited. This e-mail may also be subject to specific
> non-disclosure and confidentiality provisions. The information contained
> herein is the property of Chopper Trading, LLC. If you believe that you have
> received this email in error, please notify the sender immediately and
> delete it from your system.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk