ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Problem Building ROS on Debian

asked 2012-05-19 11:04:11 -0500

MarkyMark2012 gravatar image

updated 2014-01-28 17:12:22 -0500

ngrennan gravatar image

Hi All,

Just got a Raspberry Pi and building ROS on it (Yes is takes an age...but works) any way I get the following error (So close yet so far):

[ 91%] Building CXX object ros_tutorials/turtlesim/CMakeFiles/turtlesim_node.dir/src/turtle.cpp.o /root/ros-underlay/ros_tutorials/turtlesim/src/turtle.cpp: In member function âbool turtlesim::Turtle::update(double, QPainter&, const QImage&, qreal, qreal)â: /root/ros-underlay/ros_tutorials/turtlesim/src/turtle.cpp:132: error: no matching function for call to âmax(double, qreal)â /root/ros-underlay/ros_tutorials/turtlesim/src/turtle.cpp:162: error: no matching function for call to âmax(qreal, double)â /root/ros-underlay/ros_tutorials/turtlesim/src/turtle.cpp:163: error: no matching function for call to âmax(qreal, double)â make[2]: * [ros_tutorials/turtlesim/CMakeFiles/turtlesim_node.dir/src/turtle.cpp.o] Error 1 make[1]: [ros_tutorials/turtlesim/CMakeFiles/turtlesim_node.dir/all] Error 2 make: ** [all] Error 2



edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-05-19 21:26:06 -0500

MarkyMark2012 gravatar image

Fixed it - added static_cast<double>() around the offending types...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-19 11:04:11 -0500

Seen: 445 times

Last updated: May 19 '12