$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jens Seidel (jensseidel_at_[hidden])
Date: 2008-04-20 12:42:26
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 <boost/lambda/lambda.hpp>
>
> 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