[Newbie Inquiry] Setting Library Path Settings in VC71

Hello Everyone, I needed a regular expression library, and having discovered Boost through google, I downloaded and installed it. I've set the environment for the include files by Tools > Options > Projects > VC++ Directories > Include Files. And I have set it to include a particular library file but the path goes something like this: "$(VCInstallDir)boost\bin\boost\libs\regex\build\libboost_regex.lib\vc-7_1\debug\runtime-link-static" I have a feeling something is wrong here. Is there a way to set the environment for the library files in one go without having to include another path each time I need some library file that isn't in my list of included paths? For example, if I needed a library file from "signals", I guess I would have to locate the appropriate file and then just enlist another path like "$(VCInstallDir)boost\bin\boost\libs\signals\build\..." Thanks.

I have a feeling something is wrong here. Is there a way to set the environment for the library files in one go without having to include another path each time I need some library file that isn't in my list of included paths?
Take another look at the getting started docs, you can either do an install: the lib files get copied to a location of your choice, or you can do a: bjam stage in which case the lib files are collected under boost-path/stage/lib Clear? John.

"John Maddock" wrote
Take another look at the getting started docs, you can either do an install: the lib files get copied to a location of your choice, or you can do a:
bjam stage
in which case the lib files are collected under boost-path/stage/lib
Clear?
You know, reading the introduction to http://www.boost.org/more/getting_started.html it really isnt very clear to me. Maybe it would help to provide a slightly gentler opening, a bit of preamble and some explanation of where we are and what we are about to do? Maybe something like : **Introduction** Welcome, The Boost distribution comprises numerous high quality C++ libraries and tools. Some libraries in the distribution are designed to be used header only while others are designed to be precompiled as static or dynamically linked libraries. Whichever operating system you are using, the suggested method of configuring the distribution, after it has been downloaded, is to invoke Boost Jam, a front end for the Boost Build system. A Bjam script is included with the distribution which can be used to build the static and dynamic libraries in the distribution and, optionally, copy both the headers and static and dynamically linked libraries into common directories of your choice, where they can be found by your compiler and linker. The following sections are designed to walk you in detail through getting, building, and installing the Boost distribution. 1.. Download Boost. 2.. Install Boost.Jam. 3.. Configure your compiler toolset. 4.. Go to Boost distribution directory. 5.. Build and install. ...etc regards Andy Little

"Andy Little" wrote
You know, reading the introduction to http://www.boost.org/more/getting_started.html it really isnt very clear to me.
[...]
Following my previous post on this subject. It appears that having downloaded
boost_1_33_1, then clicking the links "Getting Started" and "Getting Started
Guide" on the main index page does absolutely nothing in IE6, no change from
the index page, no error message, nothing... most strange. This may have
something to do with my IE6 settings, but my setup works fine with
boost_1_33_0. Everything works in Firefox though.
Once having manually opened

"Andy Little"
Apologies about all the criticism, but "getting started" is quite important isnt it?
Yes, I've been planning to write a new getting started document for the 1.34 release, FWIW. -- Dave Abrahams Boost Consulting www.boost-consulting.com

"David Abrahams"
"Andy Little"
writes: Apologies about all the criticism, but "getting started" is quite important isnt it?
Yes, I've been planning to write a new getting started document for the 1.34 release, FWIW.
hmmm... Now if there was a [Help] button on the Windows Installer, then you could be reading the docs while waiting for the binaries to download! Just a thought ! regards Andy Little

"Andy Little"
"David Abrahams"
wrote in message news:uiro3fu3j.fsf@boost-consulting.com... "Andy Little"
writes: Apologies about all the criticism, but "getting started" is quite important isnt it?
Yes, I've been planning to write a new getting started document for the 1.34 release, FWIW.
hmmm... Now if there was a [Help] button on the Windows Installer, then you could be reading the docs while waiting for the binaries to download!
Just a thought !
?? The whole point of the installer is that you don't need (the vast majority of) those instructions. -- Dave Abrahams Boost Consulting www.boost-consulting.com

"David Abrahams" wrote
"Andy Little" writes:
hmmm... Now if there was a [Help] button on the Windows Installer, then you could be reading the docs while waiting for the binaries to download!
Just a thought !
?? The whole point of the installer is that you don't need (the vast majority of) those instructions.
I was thinking more in terms of browsing the Boost libraries documentation. That of course implies that the docs were downloaded first! regards Andy Little

"Andy Little"
But as for the Windows Boost installer. It looks Great! Especially as it shows how useful a GUI is ;-) .. However I would recommend downloading only the distro and then building locally as downloading all the binaries can take an awfully long time. I gave up after an hour and cancelled it FWIW.
I think you should be more selective and not download everything. Trying to do a local build could be a bit harder, as it requires being able to properly configure the tools. We might add that option for Boost 1.34, though. -- Dave Abrahams Boost Consulting www.boost-consulting.com

?? ? wrote:
Hello Everyone,
I needed a regular expression library, and having discovered Boost through google, I downloaded and installed it. I've set the environment for the include files by Tools > Options > Projects > VC++ Directories > Include Files. And I have set it to include a particular library file but the path goes something like this: "$(VCInstallDir)boost\bin\boost\libs\regex\build\libboost_regex.lib\vc-7_1\debug\runtime-link-static" I have a feeling something is wrong here. Is there a way to set the environment for the library files in one go without having to include another path each time I need some library file that isn't in my list of included paths?
For example, if I needed a library file from "signals", I guess I would have to locate the appropriate file and then just enlist another path like "$(VCInstallDir)boost\bin\boost\libs\signals\build\..."
Thanks.
By running bjam with the "stage" or "install" targets, you can make it collect all library files into a single directory. Sebastian Redl

bjam stage and/or bjam install Then add the stage or install directory[0] to your lib path. [0] C:\Boost\lib is the default install directory; read the documentation for how to change this. Dale
participants (6)
-
?? ?
-
Andy Little
-
Dale McCoy
-
David Abrahams
-
John Maddock
-
Sebastian Redl