The Boost thread build being broken for GCC 4.7 is a known problem, but should be fixed in more recent Boost releases. I've been working on a CMake build of Boost 1.50 for the new SCIRun - some modifications will be required for the Seg3D build. In the meanwhile, the Seg3D build is well-tested with GCC 4.6 on Linux, so this is a good fix for now.AylaOn Oct 22, 2012, at 10:27 AM, Ramón Casero Cañas wrote:I have figured out the problem. g++ v4.7.2 (ubuntu 12.10) disables boost threads, at least with the version distributed with Seg3D2.
http://stackoverflow.com/questions/8297652/error-boost-disable-threads
This throws an error when Seg3D2 tries to build boost.
A workaround is to add to src/CMakeLists.txt the lines (assuming that we have g++-4.6 installed)
<CODE>
set(ENV{CC} gcc-4.6)
set(ENV{CXX} g++-4.6)
</CODE>
*before* the line
PROJECT(Seg3D)
This will force Seg3D to build with g++ 4.6, that doesn't suffer from that problem.
Cheers,
Ramon.On 20 October 2012 18:45, Ramón Casero Cañas <rcasero@gmail.com> wrote:Hi,
I have just updated to the latest trunk version,
URL: https://gforge.sci.utah.edu/svn/seg3d2/trunk
Revision: 1783
and building in the new Ubuntu 12.10 gives the following errors, gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2:
[ 72%] Building CXX object Externals/boost/CMakeFiles/boost.dir/libs/thread/src/pthread/thread.cpp.o
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/platform.hpp:17:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/config.hpp:20,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:8:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/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/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/config.hpp:20:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:8:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:0:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:13:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:15:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:9:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:24,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/condition.hpp:9:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:12:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/condition_variable.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:14:0:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:42:9: error: expected class-name before ‘{’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:73:9: error: expected class-name before ‘{’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:93:9: error: expected class-name before ‘{’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:118:9: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:122:49: error: expected ‘)’ before ‘data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:124:9: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:138:23: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:143:23: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:332:17: error: ‘thread_data_base’ in namespace ‘boost::detail’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:333:9: error: ‘native_handle_type’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, typename boost::disable_if<boost::is_convertible<T&, boost::detail::thread_move_t<T> >, boost::thread::dummy*>::type)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:202:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(boost::detail::thread_move_t<T>)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:210:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(boost::detail::thread_move_t<boost::thread>)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:217:13: error: ‘thread_info’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:217:28: error: ‘class boost::thread’ has no member named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:218:16: error: ‘class boost::thread’ has no member named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:250:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:256:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:263:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:270:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4, A5)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:277:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4, A5, A6)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:284:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:291:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7, A8)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:298:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::thread(F, A1, A2, A3, A4, A5, A6, A7, A8, A9)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:305:13: error: class ‘boost::thread’ does not have any field named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘void boost::thread::swap(boost::thread&)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:312:13: error: ‘thread_info’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:312:32: error: ‘class boost::thread’ has no member named ‘thread_info’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In static member function ‘static void boost::thread::yield()’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:341:13: error: ‘this_thread’ has not been declared
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In static member function ‘static void boost::thread::sleep(const system_time&)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:346:13: error: ‘this_thread’ has not been declared
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In function ‘void boost::this_thread::sleep(const boost::xtime&)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:385:40: error: invalid initialization of reference of type ‘const boost::xtime&’ from _expression_ of type ‘boost::system_time {aka boost::posix_time::ptime}’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:383:21: error: in passing argument 1 of ‘void boost::this_thread::sleep(const boost::xtime&)’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: At global scope:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:392:9: error: ‘thread_data_ptr’ in namespace ‘boost::detail’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:394:36: error: expected ‘)’ before ‘thread_data_’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In constructor ‘boost::thread::id::id()’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:401:13: error: class ‘boost::thread::id’ does not have any field named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator==(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:406:20: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:406:20: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:406:35: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator!=(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:411:20: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:411:20: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:411:35: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator<(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:416:20: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:416:20: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:416:34: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator>(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:421:22: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:421:34: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:421:34: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator<=(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:426:24: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:426:36: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:426:36: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In member function ‘bool boost::thread::id::operator>=(const boost::thread::id&) const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:431:22: error: ‘thread_data’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:431:22: note: suggested alternative:
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:40:15: note: ‘boost::detail::thread_data’
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:22:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:431:36: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In function ‘std::basic_ostream<_CharT, _Traits>& boost::operator<<(std::basic_ostream<_CharT, _Traits>&, const boost::thread::id&)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:440:18: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:442:30: error: ‘const class boost::thread::id’ has no member named ‘thread_data’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp: In function ‘void boost::this_thread::at_thread_exit(F)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:520:71: error: ‘heap_new’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread.hpp:520:120: error: expected primary-_expression_ before ‘>’ token
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/thread.hpp:24:0,
from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: At global scope:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:98:17: error: ‘shared_mutex’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘boost::thread* boost::thread_group::create_thread(F)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:41:13: error: ‘lock_guard’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:41:31: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:41:51: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:41:52: error: there are no arguments to ‘guard’ that depend on a template parameter, so a declaration of ‘guard’ must be available [-fpermissive]
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:41:52: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘void boost::thread_group::add_thread(boost::thread*)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:51:17: error: ‘lock_guard’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:51:35: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:51:55: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:51:56: error: ‘guard’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘void boost::thread_group::remove_thread(boost::thread*)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:58:13: error: ‘lock_guard’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:58:31: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:58:51: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:58:52: error: ‘guard’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘void boost::thread_group::join_all()’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:68:13: error: ‘shared_lock’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:68:32: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:68:52: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:68:53: error: ‘guard’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘void boost::thread_group::interrupt_all()’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:80:13: error: ‘shared_lock’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:80:32: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:80:52: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:80:53: error: ‘guard’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp: In member function ‘size_t boost::thread_group::size() const’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:92:13: error: ‘shared_lock’ is not a member of ‘boost’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:92:32: error: ‘shared_mutex’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:92:52: error: ‘m’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/detail/thread_group.hpp:92:53: error: ‘guard’ was not declared in this scope
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:12:0:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/condition.hpp: At global scope:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/condition.hpp:13:13: error: ‘condition_variable_any’ does not name a type
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:14:0:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/once.hpp:25:42: error: variable or field ‘call_once’ declared void
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/once.hpp:25:34: error: ‘func’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/once.hpp:25:42: error: ‘once_flag’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/once.hpp:25:53: error: ‘flag’ was not declared in this scope
In file included from /home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:15:0:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp: In constructor ‘boost::thread_specific_ptr<T>::thread_specific_ptr()’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:21: error: ‘heap_new’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:49: error: expected primary-_expression_ before ‘>’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:51: error: expected primary-_expression_ before ‘)’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:53: error: ‘do_heap_delete’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:87: error: expected primary-_expression_ before ‘>’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:68:89: error: expected primary-_expression_ before ‘)’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp: In constructor ‘boost::thread_specific_ptr<T>::thread_specific_ptr(void (*)(T*))’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:74:31: error: ‘heap_new’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:74:75: error: expected primary-_expression_ before ‘>’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:74:84: error: ‘do_heap_delete’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:74:134: error: expected primary-_expression_ before ‘>’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/boost/thread/tss.hpp:74:136: error: expected primary-_expression_ before ‘)’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp: At global scope:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:32:9: error: ‘thread_data_base’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:48:13: error: ‘once_flag’ in namespace ‘boost’ does not name a type
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp: In function ‘void boost::detail::{anonymous}::tls_destructor(void*)’:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:21: error: ‘thread_data_base’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:54: error: ‘thread_info’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:78: error: expected type-specifier
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:78: error: expected ‘>’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:78: error: expected ‘(’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:78: error: ‘thread_data_base’ is not a member of ‘boost::detail’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:110: error: expected primary-_expression_ before ‘>’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:55:117: error: expected ‘)’ before ‘;’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:71:54: error: ‘tss_data_node’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:71:67: error: template argument 2 is invalid
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:71:67: error: template argument 4 is invalid
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:71:79: error: invalid type in declaration before ‘next’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:71:79: error: expected ‘;’ before ‘next’
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:72:37: error: ‘current’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:73:37: error: ‘end’ was not declared in this scope
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:74:42: error: expected ‘)’ before ‘;’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:74:43: error: expected primary-_expression_ before ‘)’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:74:43: error: expected ‘;’ before ‘)’ token
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp: At global scope:
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
/home/rcasero/Documents/seg3d2.trunk/src/Externals/boost/libs/thread/src/pthread/thread.cpp:602:1: error: expected ‘}’ at end of input
make[2]: *** [Externals/boost/CMakeFiles/boost.dir/libs/thread/src/pthread/thread.cpp.o] Error 1
make[1]: *** [Externals/boost/CMakeFiles/boost.dir/all] Error 2
make: *** [all] Error 2
--
Dr. Ramón Casero Cañas
Oxford e-Research Centre (OeRC)
University of Oxford
7 Keble Rd
Oxford OX1 3QG
tlf +44 (0) 1865 610739
web http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
photos http://www.flickr.com/photos/rcasero/
--
Dr. Ramón Casero Cañas
Oxford e-Research Centre (OeRC)
University of Oxford
7 Keble Rd
Oxford OX1 3QG
tlf +44 (0) 1865 610739
web http://www.cs.ox.ac.uk/people/Ramon.CaseroCanas
photos http://www.flickr.com/photos/rcasero/
Archive powered by MHonArc 2.6.16.