Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2004-11-09 10:23:37


"Daniel Lidström" <daniel.lidstrom_at_[hidden]> wrote in message
news:E1F34343C3A0804BB3E29ABBFCBBAF0C01BB6F_at_ADA...
> Hi,
>
> this is what I've done:
> compiled with commandline of
> bjam "-sVC71_ROOT=C:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7"
> "--prefix=C:\projects\boost" install

I don't see an -sTOOLS=vc7.1 here telling bjam which tool set to use, as the
Getting Started page suggests. I'd guess this is confusing things. Given you
are using the default root for vc7.1 try:

    bjam -sTOOLS=vc7.1 "--prefix=C:\projects\boost" install

note that vc7.1 is case sensitive.

> Within my project, I've set an additional include path of
> C:\projects\boost\include\boost-1_31. Now when I compile my project with
>
> one source file containing the line
>
> #include <boost/shared_ptr.hpp>
>
> I get this error:
>
> c:\projects\boost\include\boost-1_31\boost\config\compiler\borland.hpp(1
> 3)
> : fatal error C1017: invalid integer constant expression
>
> What have I missed?

see above

Jeff F


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk