This is what I use to build a static version:

 

bjam --layout=versioned --toolset=msvc-9.0 variant=debug threading=multi link=static runtime-link=static stage

 

bjam --help shows over variants.

 

 

From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Thomas Schuster
Sent: Monday, October 19, 2009 09:44
To: boost-users@lists.boost.org
Subject: [Boost-users] Boost 1.40.0: How to get 'libboost_regex-vc90-mt-sgd-1_40.lib' for VC++ 2008?

 

Hello,

just installed Boost 1.40.0 and created all libs unsing booststtrap and .\bjam

Compiling an example which uses boost regex all works fine, lib 'libboost_regex-vc90-mt-gd-1_40.lib' was linked to. Im using
Visual C++ 2008 Express Edition with SP1

But I would like to create a stand allone exe.file, so I changed the MS Visual C++ 2008 configuration to Multithread (/MT)
Obviously this will cause the linker to search for the lib 'libboost_regex-vc90-mt-sgd-1_40.lib' which ist not available within the
Boost sub-folder 'stage'.

May I ask how I can create the 'libboost_regex-vc90-mt-sgd-1_40.lib' ? Or ist there a website avaliable where I can download it
for Boost 1.40.0 and Visual C++ 2008 ?

Many thanks for any hint.
Regards
Sergeant 666









--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.