Hello
After failing to compile Seg3d2 in Fedora core 18 with gcc4.7.3, following advice on this thread we have failed again at building it with gcc4.6.3 with the same boost thread issue:
[ 70%] Building CXX object Externals/boost/CMakeFiles/boost.dir/libs/thread/src/pthread/thread.cpp.o
In file included from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/pthread/mutex.hpp:14:0,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/mutex.hpp:16,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/pthread/thread_data.hpp:12,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/thread.hpp:17,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
In file included from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/pthread/mutex.hpp:14:0,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/mutex.hpp:16,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/pthread/thread_data.hpp:12,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/thread.hpp:17,
from /home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/libs/thread/src/pthread/thread.cpp:10:
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:73:40: note: suggested alternative:
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp: At global scope:
/home/sergio/src/libs/Seg3D2-2.1.4-code/src/Externals/boost/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
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
Building Seg3D returned an error
Any chance of updated version soon or tip to compile seg3d succesfully?
Thanks