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

Revision history [back]

click to hide/show revision 1
initial version

Your issue is simply a C++ issue, the method to_string from the library <string> is available with C++11. With kinetic, the standard is C++03 (Cf REP 3), so you have to specify in the CMakeLists.txt to use the standard C++11 with this line (just after project(YOUR_PROJECT)) :

add_compile_options(-std=c++11)