$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] include issues
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-20 19:49:48
AMDG
Shaolin wrote:
> I am having problems with includes. I have the boost folder in my c++
> program folder and use the following include statement to use the thread.hpp
> file:
>
> #include "boost/thread/thread.hpp"
>
> However, everytime I compile (g++ myprogram.cc) I get the following error
> message:
>
> boost/thread/thread.hpp: No such file or directory
>
> Where am I going wrong ? I just downloaded the foleder and moved it to my
> c++ application dir.
>
You need to use -I. Check your compiler's documentation.
In Christ,
Steven Watanabe