Ros install problem OSX 10.6.8
When trying to install rosjava using this link: http://www.ros.org/wiki/fuerte/Installation/OSX/Homebrew/Source
I get to the step where I run the command:
make -j8
This command fails with the following output:
[ 11%] [ 11%] Built target std_msgs_genpy
[ 11%] Built target std_msgs_gencpp
[ 11%] Built target cpp_common
[ 11%] Built target roscpp_serialization
Built target std_msgs_genlisp
Linking CXX shared library ../../lib/librostime.dylib
[ 11%] [ 11%] Built target xmlrpcpp
Built target rospack
[ 11%] Built target roscpp_gencpp
[ 11%] Undefined symbols:
"boost::system::generic_category()", referenced from:
__static_initialization_and_destruction_0(int, int)in time.cpp.o
__static_initialization_and_destruction_0(int, int)in time.cpp.o
"boost::system::system_category()", referenced from:
boost::thread_exception::thread_exception(int, char const*)in time.cpp.o
__static_initialization_and_destruction_0(int, int)in time.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/librostime.dylib] Error 1
Built target topic_tools_genpy
[ 11%] [ 11%] Built target topic_tools_genlisp
[ 11%] Built target topic_tools_gencpp
[ 11%] make[1]: *** [roscpp_core/rostime/CMakeFiles/rostime.dir/all] Error 2
Built target test_rosservice_gencpp
make[1]: *** Waiting for unfinished jobs....
Built target roscpp_genpy
[ 11%] Built target roscpp_genlisp
make: *** [all] Error 2
Can anyone advise how I can fix this error? I am using osx 10.6.8 and the boost version thats installed is 1.49.0.
I have seen this problem with boost 1.5.0, the problem is that boost_system is not being linked against. Can you confirm the boost version? You would need to modify the rostime CMakeLists.txt to include
target_link_libraries(rostime boost_system)
I have confirmed that I am using boost 1.49.0 could you explain which CMakeLists.txt to edit?