|
Boost-Build : |
From: mrbandsaw (mrbandsaw_at_[hidden])
Date: 2004-02-11 02:50:46
--- In jamboost_at_[hidden], "Bronek Kozicki" <brok_at_r...> wrote:
> Everything is described at:
> http://www.boost.org/more/getting_started.html#Build_Install
> I have no problem with that. Here is step-by-step guide for you:
>
Yep, that was the document I was referring to too.
> 1. click Start, then Programs, then Microsoft Visual Studio .NET
> 2003,then Visual Studio .NET Tools, then Visual Studio .NET 2003
> Command Prompt. This will run cmd.exe with vsvars32.bat, wich is
> responsible for setting various required environment variables
>
Ok - I'll do that.
(I wanted to build everything without relying on vsvars32.bat
setting up the enviroment. According to the "Getting started" docs
I should be able to just make a:
bjam "-sVC71_ROOT=D:\Programs\VS2003\Vc7"
but this obviously does not work.)
>
> 2. make sure you have proper INCLUDE variable. You may possibly
> need to append boost path, eg.:
> set INCLUDE=%INCLUDE%;D:\C++\Boost_1_31_0
>
Verified ok.
> 3. make sure you are in boost directory (in example above it would
> be D:\C++\Boost_1_31_0).
>
Yep.
>
> 4. run bjam with correct set of parameters (see bellow).
> 5. correct way to run bjam in your case could be:
> bjam "-sTOOLS=vc7.1" "--prefix=D:\C++\Boost_1_31_0" install
>
Yes, that is what I want.
> This will create 3 subdirectories under "PREFIX" directory:
> * bin, where boost is being build (object files, other intermediary
> files and final result, ie. libraries). You may remove it
> afterwards;
> * lib, where library files are being copied (not moved) from bin;
> * include\boost-1_31, which will contain all boost include files
> copied from boost directory.
>
Nice.
Ok, very good explanation - thanks! But......
I did follow you instructions exactly as you described:
1: Run commands within the Visual Studio .Net 2003 Command Prompt.
2: Fixed so that my boost directory is included.
3: Change directory to my boost dir: D:\C++\Boost_1_31_0
4&5: bjam "-sTOOLS=vc7.1" "--prefix=D:\C++\Boost_1_31_0" install
Now, the result of this is that two directories are created: lib and
include. lib is empty and include contains all boost header files.
So, the only action taken by issuing the bjam install command was
that the boost headers were copied!?!?
How do I make bjam build the libs?
/BS
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk