Boost logo

Boost Users :

Subject: Re: [Boost-users] problems building
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2015-01-04 00:12:22


>> The build command I'm running is './b2 --with-filesystem', and the errors I'm getting are of the following form: >> >> gcc.compile.c++ bin.v2/libs/system/build/gcc-4.9.0/release/threading-multi/error_code.o >> In file included from libs/system/src/error_code.cpp:16:0: >> ./boost/system/error_code.hpp:18:39: fatal error: boost/utility/enable_if.hpp: No such file or directory >> #include <boost/utility/enable_if.hpp> > > Have you run: > ./b2 headers > > https://svn.boost.org/trac/boost/wiki/TryModBoost Yes, I have. It seems what I needed to do was run 'git submodule init' to get the new 'core' submodule. After that, and 'git submodule update', and then './b2 headers' again, this error went away. However, I have another: gcc.compile.c++ bin.v2/libs/filesystem/build/gcc-4.9.0/release/threading-multi/operations.o In file included from ./boost/smart_ptr/shared_ptr.hpp:27:0,                  from ./boost/shared_ptr.hpp:17,                  from ./boost/filesystem/path.hpp:29,                  from ./boost/filesystem/operations.hpp:25,                  from libs/filesystem/src/operations.cpp:44: ./boost/throw_exception.hpp:29:57: fatal error: boost/exception/detail/attribute_noreturn.hpp: No such file or directory  #include <boost/exception/detail/attribute_noreturn.hpp>                                                          ^ compilation terminated. I get this error even though it seems I now have all the submodules... Regards, Nate


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net