"Undefined references" usually indicate a linker error. Have you checked that you're linking against the thread library?On Tue, 07 May 2013 03:52:25 -0700, Mohammad Daei <modaei@gmail.com> wrote:
Hi. I'm trying to use boost package in Eclipse platform. In this line of
code:
boost::this_thread::disable_interruption di;
Although boost-1.41.0-17 is installed and I have included boost/thread.hpp
in the code, I receive the this error:
undefined reference to
'boost::this_thread::disable_interruption::disable_interruption()
I'm using CentOS 6 and gcc compiler. Anyone knows what's causing this
problem?
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users