|
Boost Users : |
Subject: Re: [Boost-users] Boost with Eclipse and MinGW
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-06-06 10:35:14
Bassem Bouguerra wrote:
> Hi- Running the simple code with Boost Header libraries works perfectly
> fine. If I try to use any compiled library, then I run to hell. I am trying
> to use the thread library and I keep getting compiling errors like:
> undefined reference to boost::thread::!thread()
>
> I installed the package and selected VS8 even though, I am using Eclipse and
> I added the "C:\Program Files (x86)\boost\boost_1_38\lib" to the linker
> search libraries paths.
If you specify the above path, the linker will be able to find Boost libraries
if you ask it to link to them. Did you actually asked to link to boost.thread?
See Eclipse CDT docs for how to do that, and look in the folder above for the
names of libraries you might want.
- Volodya
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