
AMDG wuguangjun wrote:
Hello boost-users . I have build boost_1_38_0 with bjam on RedHat Entriprise 5.The bjam command is"bjam –toolset=gcc –build-type=complete install" When I compile cello99 trace DateSeries(A application based on boost), a error occur "boost/foreach.hpp: No such file or directory". I notice that in the directory "/usr/local/include/boost-1_38/boost" there exists the file "foreach.hpp". But in the directory"/usr/include/boost" do not have foreach.hpp file. I have tried other version boost_1_37 and boost_1_35.I dont know why? Could anyone help me?
/usr/local/include/boost-1_38 is the default location in which to install the headers. You add -I/usr/local/include/boost-1_38 to the compiler command line. In Christ, Steven Watanabe