Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-11-11 11:34:37


clubdelpelosuperfluo wrote:

> Hi.
> I am using WINNT with Visual Studio 6.0.
> In the Path variable the Visual C++ dirs are listed.
> The variable MSVCDir is not. (I updated the path variable by hand
> writing a new Path variable among the user variables; this because I
> have not admin rights and the VCVARS32.BAT doesn't write in this
> case).

Why can't you use VCVARS32.BAT? If it was installed by an admin it
should be correct. You should be able to use it without modification. Is
it installed to a non-standard location? If so did you set MSVC_ROOT as
described in: http://www.boost.org/tools/build/v1/msvc-tools.html ?

> I did bjam "-sTOOLS=msvc" install.2
>
> Now I have a c:\Boost dir. The subdir \lib is empty. Is this correct?

No. Did you get any errors while building?

> bjam should have written somewhere in my visual studio dirs?

No.

> Do you have a simple compile test program to test my installation?

Nothing other than the examples that come with the individual libraries.
But something as simple as...

---test.cpp---
#include <boost/thread.hpp>
int main(int,char**)
{
boost::thread::yield();
return 0;
}

---
Should work.
> After a correct installation I could use the boost libraries in the 
> same way I can use classes in the std lib? eg std::map, 
> boost::function ?
Yes, and no... You can use it like any other external library package. 
You'll need to configure your compiler accordingly. Adding to the 
include and library paths of your projects.
http://www.boost.org/more/getting_started.html
-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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