Ros Jade Osx - compiler error robot_state_publisher
Hi @all
i would like to install ros jade on osx. i know that is in experimental state but there's no other way.
in package robot_state_publisher an error is generated.
[ 71%] Building CXX object CMakeFiles/robot_state_publisher.dir/src/joint_state_listener.cpp.o
/Users/blubb/ros_catkin_ws/src/robot_state_publisher/src/joint_state_listener.cpp:165:74: error: no viable conversion from '__map_iterator<__tree_iterator<__value_type<[...],
std::__1::shared_ptr<urdf::Joint>>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char>, std::__1::shared_ptr<urdf::Joint> >, void *> *, [...]>>' to
'__map_iterator<__tree_iterator<__value_type<[...], boost::shared_ptr<urdf::Joint>>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char>,
boost::shared_ptr<urdf::Joint> >, void *> *, [...]>>'
for(std::map< std::string, boost::shared_ptr< urdf::Joint > >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
if i comment out the following lines in file ros_catkin_ws/src/robot_state_publisher/src/joint_state_listener.cpp all package are compiled successful
In main function:
for(std::map< std::string, boost::shared_ptr< urdf::Joint > >::iterator i = model.joints_.begin(); i != model.joints_.end(); i++){
if(i->second->mimic){
mimic.insert(make_pair(i->first, i->second->mimic));
}
}
its looks like the compiler can´t cast std::shared_ptr to boost::shared_ptr. On my laptop i have a working version of ROS indigo and the file looks the same and it works.
Can anybody help me?
Thanks