20 Aug
2009
20 Aug
'09
11:49 p.m.
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