c++ - Error while building an eclipse project with boost -
c++ - Error while building an eclipse project with boost -
i trying include boost in building c++ projects on ubuntu. g++ version 4.8.1 , boost version 1.57.0. followed these instructions utilize boost (header libraries). set boost library ~/opt/lib, , when seek compile project next error output:
15:19:47 **** incremental build of configuration debug project test **** create building file: ../src/test.cpp invoking: gcc c++ compiler g++ -include/home/alexander/opt/lib/boost_1_57_0 -o0 -g3 -wall -c -fmessage-length=0 -mmd -mp -mf"src/test.d" -mt"src/test.d" -o "src/test.o" "../src/test.cpp" in file included <command-line>:0:0: /usr/include/stdc-predef.h:39:1: fatal error: /home/alexander/opt/lib/boost_1_57_0: no such file or directory #endif ^ compilation terminated. make: *** [src/test.o] error 1 15:19:48 build finished (took 1s.31ms)
what have made wrong?
c++ eclipse ubuntu boost
Comments
Post a Comment