|
Boost Users : |
Subject: Re: [Boost-users] include issues
From: Shaolin (shaolinfinest_at_[hidden])
Date: 2009-08-20 19:56:23
Thanks guys, issue fixed.
2009/8/21 OvermindDL1 <overminddl1_at_[hidden]>
> On Thu, Aug 20, 2009 at 3:51 PM, Shaolin<shaolinfinest_at_[hidden]> wrote:
> > 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 <boost/thread/thread.hpp>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net