Boost logo

Boost Users :

Subject: [Boost-users] problems building
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2015-01-03 23:54:11

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 <boost/utility/enable_if.hpp>                                        ^ 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: Looking at [1], boost/system/error_code.hpp does indeed include <boost/utility/enable_if.hpp>, 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] [2]

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at