Jens Seidel
On Sun, Apr 20, 2008 at 03:35:27AM +0000, 7stud wrote:
Following the instructions in the tutorial, I installed boost in /usr/local as instructed, so my directory structure is:
/usr/local/boost_1_34_1/boost
I also tried to execute the program from the command line with the original include path:
#include
but I get the same error:
~/2testing/dir1$ g++ prog1.cpp prog1.cpp:1:35: error: boost/lambda/lambda.hpp:
You need of course to specify /usr/local/boost_1_34_1 as include path via -isystem /usr/local/boost_1_34_1 or -I /usr/local/boost_1_34_1 so that the compiler knows where to find boost header files.
Jens
Here is the tutorial example:
#include