[ros-users] compiling latest on mac os 10.5.8

Andrew Harris andrew.unit at gmail.com
Sat Jun 26 20:55:43 UTC 2010


Hi --

   I am following the instructions for installing ROS latest on
leopard, and the base install finishes OK.

But when I try to rosmake image_view, I'm getting an error regarding
boost and/or poco_lite.  I did do the rosdep install image_view and it
brought in what I think are all the dependencies -- I do remember
seeing boost getting installed.

Has anyone else encountered this?

thanks,
-andrew

[ rosmake ] [ make ] [ pluginlib: 4.86 sec ] [ topic_tools: 2.52 sec ]
                 [ 2 Active 17/31 Complete ][ rosmake ] All 31 lines
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package pluginlib
  [rosbuild] Including /Users/andrewha/ros/ros/core/roscpp/cmake/roscpp.cmake
  [rosbuild] Including /Users/andrewha/ros/ros/core/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /Users/andrewha/ros/ros/core/rospy/cmake/rospy.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to:
/Users/andrewha/ros/stacks/common/pluginlib/build
  cd build && make -j2
  [  0%] Built target rospack_genmsg_libexe
  [  0%] Built target rosbuild_precompile
  Linking CXX shared library ../lib/libboost_fs_wrapper.dylib
  [ 96%] Built target poco_lite
  Undefined symbols:
    "boost::system::get_generic_category()", referenced from:
        __static_initialization_and_destruction_0(int, int)in boost_fs_wrapper.o
        __static_initialization_and_destruction_0(int, int)in boost_fs_wrapper.o
        __static_initialization_and_destruction_0(int, int)in boost_fs_wrapper.o
    "boost::system::get_system_category()", referenced from:
        boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >, bool>::type
boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits>
>(boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> const&)in boost_fs_wrapper.o
        __static_initialization_and_destruction_0(int, int)in boost_fs_wrapper.o
        __static_initialization_and_destruction_0(int, int)in boost_fs_wrapper.o
    "boost::filesystem::detail::status_api(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
boost::system::error_code&)", referenced from:
        boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> >, bool>::type
boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits>
>(boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> const&)in boost_fs_wrapper.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make[3]: *** [../lib/libboost_fs_wrapper.dylib] Error 1
  make[2]: *** [CMakeFiles/boost_fs_wrapper.dir/all] Error 2
  make[1]: *** [all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package pluginlib written to:
[ rosmake ]    /Users/andrewha/.ros/rosmake/rosmake_output-20100626-143815/pluginlib/build_output.log
[rosmake-0] Finished <<< pluginlib [FAIL] [ 4.86 seconds ]
[ rosmake ] Halting due to failure in package pluginlib.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] [ make ] [ topic_tools: 4.29 sec ]
                 [ 1 Active 17/31 Complete ][rosmake-1] Finished <<<
topic_tools [PASS] [ 4.30 seconds ]
[ rosmake ] Results:
[ rosmake ] Built 19 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /Users/andrewha/.ros/rosmake/rosmake_output-20100626-143815
andrewha-laptop:~ andrewha$



More information about the ros-users mailing list