Hi list,
I'm trying to build Boost for the first time in a while, and getting unexpected errors.
I have a git checkout of the 'master' branch, but I've also tried with the 'boost-1.57.0' tag and had the same problem.
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
^
compilation terminated.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/system/build/gcc-4.9.0/release/threading-multi/error_code.o" "libs/system/src/error_code.cpp"
Full output is here: http://pastebin.com/fgReAxTE
Looking at [1], boost/system/error_code.hpp does indeed include , and looking at [2], there is indeed no 'enable_if.hpp' in boost/utility, so I'm not sure how it's _supposed_ to work.
What am I missing?
Thanks,
Nate
[1] https://github.com/boostorg/system/blob/master/include/boost/system/error_co...
[2] https://github.com/boostorg/utility/tree/master/include/boost/utility