Boost logo

Boost Users :

From: Groleo Marius (groleo_at_[hidden])
Date: 2005-07-06 02:45:50


I'm trying to compile a boost.thread example, on gcc 3.3.5.
I get the folowing error:

/usr/local/include/boost/config/requires_threads.hpp:47:5: #error "Compiler
threading support is not turned on. Please set the correct command line
options for threading: -pthread (Linux), -pthreads (Solaris) or -mthreads
(Mingw32)"
In file included from /usr/local/include/boost/thread/thread.hpp:19,

Is there a way to fix it?

-- 
Regards, Groleo!
# touch universe
# chmod +x universe
# ./universe


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