
Hi, I was trying to work with boost::thread but I receive an error just by including the header: #include <boost/thread.hpp> #include <boost/date_time.hpp> Error: from main.cpp:17: In file included from /usr/include/boost/algorithm/string/find_format.hpp:22, /usr/include/boost/algorithm/string/concept.hpp:38: error: expected `;' before '<' token /usr/include/boost/algorithm/string/concept.hpp:46: error: `range' does not name a type /usr/include/boost/algorithm/string/concept.hpp: In member function `void boost::algorithm::FinderConcept<FinderT, IteratorT>::constraints()': /usr/include/boost/algorithm/string/concept.hpp:43: error: `r' undeclared (first use this function) /usr/include/boost/algorithm/string/concept.hpp:43: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/include/boost/algorithm/string/concept.hpp: In member function `void boost::algorithm::FormatterConcept<FormatterT, FinderT, IteratorT>::constraints()': /usr/include/boost/algorithm/string/concept.hpp:68: error: `begin' is not a member of `boost' /usr/include/boost/algorithm/string/concept.hpp:69: error: `end' is not a member of `boost' Any idea how to solve this or what is causing this errors? Thanks Dann