
2009/1/25 n0b0dy-at-home
i'm about to make my first steps with boost... unfortunately eclipse says "boost/shared_ptr.hpp: No such file or directory";
i've included the boost-path, so what's my mistake?
An Hello to nobody, You must have added the wrong directory at the Preferences->C/C++ Build->Setting->Tool Settings ->C++ Compiler->Directories dialog. I just downloaded eclipse and it works for me. A tip: eclipse dumps out the command line it uses to compile, like: {{{ Invoking: GCC C++ Compiler g++ -I/home/maik/workspace/boost -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/test_boost.d" -MT"src/test_boost.d" -o"src/test_boost.o" "../src/test_boost.cpp" }}} Include paths are headed by an "-I": -I/home/maik/workspace/boost Check it! HTH, -- Maik