Boost logo

Boost Users :

Subject: [Boost-users] boost::disable_interruption problem
From: Mohammad Daei (modaei_at_[hidden])
Date: 2013-05-07 06:52:25


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 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