From: Daniel Lidström (daniel.lidstrom_at_[hidden])
Date: 2004-11-10 02:38:57
> "Daniel Lidström" <daniel.lidstrom_at_[hidden]> wrote in message
> > 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.
Ok, I compile like this:
bjam "-sTOOLS=vc7.1" "--prefix=C:\projects\boost" install
> > 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:
> > 3)
> > : fatal error C1017: invalid integer constant expression
> > What have I missed?
I do the same as before and get the same error. And yes, I am using
Visual Studio 7.1 in case anyone thought else. What am I doing wrong?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk