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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -