ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Ruben,
Thank you for your answer. I use the last version of boost : 1.46.1. I can't get to another version with macport since I just installed it.
I compiled with verbose and here is the result :
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake ..
[rosbuild] Building package rosrecord
[rosbuild] Including /Users/morgancormier/ros/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/morgancormier/ros/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/morgancormier/ros/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
CMake Warning: The variable, 'CMAKE_TOOLCHAIN_FILE', specified manually, was not used during the generation.
-- Build files have been written to: /Users/morgancormier/ros/ros_comm/tools/rosrecord/build
cd build && make -l4
[ 0%] Built target rospack_genmsg_libexe
[ 0%] Built target rosbuild_precompile
Linking CXX executable ../bin/rosplay
Undefined symbols for architecture x86_64:
"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
"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
ld: symbol(s) not found for architecture x86_64
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
I hope that can help you.