Boost logo

Boost :

Subject: Re: [boost] BJam optional settings with Visual Studio 2010
From: Lior Kogan (koganlior1_at_[hidden])
Date: 2011-07-01 00:32:05


Hello Geogre,

To build VS2010 64-bit simple use

bootstrarp

and

bjam --toolset=msvc-10.0 --build-type=complete architecture=x86
address-model=64

You can find a more complete answer here:
http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010

There is also a movie on YouTube "Compiling and configuring Boost C++
libraries for Visual Studio 2010"
http://www.youtube.com/watch?v=5AmwIwedTCM
which add some more details.

Lior Kogan.

On Fri, Jul 1, 2011 at 2:35 AM, George Urakhchin <
gurakhchin_at_[hidden]> wrote:

> Hello,
>
> 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"
> errors.
>
> 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:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk