20 Aug
2009
20 Aug
'09
11:54 p.m.
On Thu, Aug 20, 2009 at 3:51 PM, Shaolin
Hi Guys
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.
Make sure boost is in an included directory, not directly linked in
your project from files, and include things using brackets as so:
#include