ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ralph's profile - activity

2012-05-01 08:49:29 -0500 received badge  Famous Question (source)
2011-11-15 04:46:27 -0500 received badge  Notable Question (source)
2011-08-04 01:37:41 -0500 received badge  Popular Question (source)
2011-06-17 10:26:12 -0500 marked best answer boost symbols not found

This is an issue with the changeover from boost::filesystem v2 to v3; a wide variety of stuff breaks. Find the file that has #include <boost/filesystem.hpp> and add #define BOOST_FILESYSTEM_VERSION 2 immediately beforehand.

2011-05-23 12:29:34 -0500 commented answer boost symbols not found
Hooray! That got it! Found ~10 files that needed changing, but it ran clean afterwards. Thanks!!
2011-05-23 09:03:48 -0500 commented answer boost symbols not found
If it helps, boost 1.46.1_0 is what rosinstall downloaded via port.
2011-05-23 06:27:28 -0500 answered a question boost symbols not found

Appreciate the linkage. Unfortunately, the patch doesn't apply - it references a file I can't find anywhere in the downloaded software.

2011-05-23 03:33:49 -0500 asked a question boost symbols not found

Hit the following problem during install on Mac OSX 10.6:

$ rosinstall ~/ros "http://packages.ros.org/cgi-bin/gen_rosinstall.py?rosdistro=diamondback&variant=desktop-full&overlay=no"

...lots of output...

[ rosmake ] Last 40 linessrecord: 41.1 sec ] [ test_roswtf: 3.5 sec ]                              [ 2 Active 60/68 Complete ]
{-------------------------------------------------------------------------------
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Checking whether CXX compiler has -isysroot
  -- Checking whether CXX compiler has -isysroot - yes
  -- Checking whether CXX compiler supports OSX deployment target flag
  -- Checking whether CXX compiler supports OSX deployment target flag - yes
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  [rosbuild] Building package rosrecord
  [rosbuild] Cached build flags older than manifests; calling rospack to get flags
  [rosbuild] Including /Users/rhc/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /Users/rhc/ros/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /Users/rhc/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /Users/rhc/ros/ros_comm/tools/rosrecord/build
  cd build && make -l2
  Scanning dependencies of target rospack_genmsg_libexe
  [  0%] Built target rospack_genmsg_libexe
  Scanning dependencies of target rosbuild_precompile
  [  0%] Built target rosbuild_precompile
  Scanning dependencies of target rosplay
  [ 25%] Building CXX object CMakeFiles/rosplay.dir/src/rosplay/rosplay.o
  [ 50%] Building CXX object CMakeFiles/rosplay.dir/src/rosplay/time_publisher.o
  Linking CXX executable ../bin/rosplay

  Undefined symbols:
    "boost::filesystem3::path::extension() const", referenced from:
        ros::record::Player::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::Time, bool)in rosplay.o
    "boost::filesystem3::path::wchar_t_codecvt_facet()", referenced from:
        ros::record::Player::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ros::Time, bool)in rosplay.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make[3]: *** [../bin/rosplay] Error 1
  make[2]: *** [CMakeFiles/rosplay.dir/all] Error 2
  make[1]: *** [all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package rosrecord written to:
[ rosmake ]    /Users/rhc/.ros/rosmake/rosmake_output-20110523-074829/rosrecord/build_output.log
[rosmake-0] Finished <<< rosrecord [FAIL] [ 41.13 seconds ]                                                                   
[ rosmake ] Halting due to failure in package rosrecord. 
[ rosmake ] Waiting for other threads to complete.                  
[rosmake-1] Finished <<< test_roswtf [PASS] [ 6.72 seconds ]                                                                  
[ rosmake ] Results:                                                                                                          
[ rosmake ] Built 62 packages with 1 failures.                                                                                
[ rosmake ] Summary output to directory                                                                                       
[ rosmake ] /Users/rhc/.ros/rosmake/rosmake_output-20110523-074829                                                            
Traceback (most recent call last):
  File "/opt/local/bin/rosinstall", line 5, in <module>
    pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 467, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 1200, in run_script
    execfile(script_filename, namespace, namespace)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall ...
(more)
2011-05-23 01:45:13 -0500 answered a question no module named yaml

Found that the soln described here works. Note that I had to open a new window to get the rosinstall command to work after taking all these steps - apparently, the path still wasn't being rehashed properly.

http://answers.ros.org/question/385/problem-with-mac-os-installation-with-yaml

It's ugly, and I don't like removing system files - but it worked.