Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to built boost?
From: PrvaPonta (prvaponta_at_[hidden])
Date: 2011-03-15 06:00:23


Alright, a new problem: building a complete set of libraries took about an
hour and a half, but it did not compile the one I need at the moment:
Filesystem. The problem I have is similar to the one described in
https://groups.google.com/group/boost-list/browse_thread/thread/b42072f150d2cbe1?pli=1,
but the solutions proposed there did not work for me.

I have Boost 1.45.0 and thus try to build version 2 of the filesystem, doing
so with the minGW-created bjam.

I run bjam as follows: bjam --toolset=gcc --build-type=complete
--with-filesystem define="BOOST_FILESYSTEM_VERSION=3" stage
I get the following error:

--
gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\v3\src\operations.o
In file included from ./boost/config.hpp:26:0,
                 from libs\filesystem\v3\src\operations.cpp:13:
./boost/config/user.hpp:126:0: warning: "BOOST_FILESYSTEM_VERSION" redefined
:0:0: note: this is the location of the previous definition
In file included from ./boost/filesystem/v3/operations.hpp:24:0,
                 from libs\filesystem\v3\src\operations.cpp:48:
./boost/filesystem/v3/config.hpp:16:5: error: #error Compiling Filesystem
versio
n 3 file with BOOST_FILESYSTEM_VERSION defined != 3
libs\filesystem\v3\src\operations.cpp:647:26: warning: '::create_symbol
ic_link_api' defined but not used
--
(I'm getting the same message whether I define filesystem version 2 or 3).
Are there some configuration settings that need to be modified? Any other
things, perhaps?
--
View this message in context: http://boost.2283326.n4.nabble.com/How-to-built-boost-tp3053130p3356113.html
Sent from the Boost - Build mailing list archive at Nabble.com.

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