Boost Users :
Subject: [Boost-users] problems building
From: Nathan Ridge (zeratul976_at_[hidden])
Date: 2015-01-03 23:54:11
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:
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
"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 , boost/system/error_code.hpp does indeed include <boost/utility/enable_if.hpp>, and looking at , 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?
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