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 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 http://www.mailscanner.info/ 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.

Ray Burkholder wrote:
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.
In particular, you might want to add -with-regex so it only builds the lib you want.

This is what I use to build a static version: bjam --layout=versioned --toolset=msvc-9.0 variant=debug threading=multi
From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Ray Burkholder Sent: Monday, October 19, 2009 2:20 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Boost 1.40.0: How to get 'libboost_regex-vc90-mt-sgd-1_40.lib' for VC++ 2008? link=static runtime-link=static stage I'm sure that this is accurate advice, but I note that there *still* seems to be an endless stream of questions of this type. Building libraries is obviously *still* causing trouble to many users, especially novices (and me if having a 'senior moment'!). I wonder if Boost Library generation would cause less puzzlement if a collection of the most commonly required *command files* was provided, instead of 'type/paste this command string' documentation? The bjam commands get uncomfortably long for typing in, and don't allow annotation and comments on possible variants. (There might need to be different versions for Linux, Windows and MacOS, but these could be in different directories). I suspect many of these command files are already in use and could easily be contributed? Paul --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com

Hi
You may take a look at this for building Boost with the specified libraries
only, although it is for VS 2008 professional:
http://ngi-central.blogspot.com/2009/09/building-boost-with-visual-studio.ht...
Robert
2009/10/19 Thomas Schuster
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
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (5)
-
Boost lzw
-
Eric J. Holtman
-
Paul A. Bristow
-
Ray Burkholder
-
Thomas Schuster