Boost logo

Boost Users :

From: Sara Collins (bkhn41_at_[hidden])
Date: 2004-10-22 15:44:44


This might be very easy for a lot of you but I've been
banging my head on the wall.

I just installed the boost library and tried to run a
simple test file using boost.thread.mutex

#include <boost/thread/mutex.hpp>

int main()
{
boost::mutex m;
}

I got this compilation error message:
undefined reference to
`boost::mutex::mutex[in-charge]()'

I guess I have to link in the libboost_thread.dll file
somehow but I don't seem to find a solution how.
Perharps I've been searching the wrong places.

Please help the newbie. Thanks a lot in advance.

                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


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