Increase the strange error with the Firebreath
I found a very strange bug with Firebreath today. I tried to compile my project by running make
against my build directory. I got a huge result with big errors. I am trying to start a new project from scratch and I got the following errors:
alucard@hell ~/Documentos/sc/build
> make
[ 1%] Built target FireBreath_Cmake
[ 2%] Building CXX object boost/libs/thread/CMakeFiles/boost_thread.dir/src/tss_null.cpp.o
In file included from /home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/boost/thread/detail/platform.hpp:17:0,
from /home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/boost/thread/detail/config.hpp:20,
from /home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/libs/thread/src/tss_null.cpp:7:
/home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
In file included from /home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/boost/thread/detail/config.hpp:20:0,
from /home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/libs/thread/src/tss_null.cpp:7:
/home/alucard/Documentos/sc/firebreath/src/3rdParty/boost/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
make[2]: [boost/libs/thread/CMakeFiles/boost_thread.dir/src/tss_null.cpp.o] Error 1
make[1]: [boost/libs/thread/CMakeFiles/boost_thread.dir/all] Error 2
make: [all] Error 2
It seems to be a problem with my system, but if I try the following example, I don't get the error:
#include <boost/thread.hpp>
int main(int argc, char *argv[]) {
return 0;
}
Compile with g++ test.cpp -pthread -lboost_thread
.
Any idea? Thanks in advanced.
+3
source to share