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

HI JB,

You can add the following line to your CMakeLists file in you catkin workspace

set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")

A more thorough discussion can be found here: http://answers.ros.org/question/152276/is-there-a-way-to-enable-c11-support-for-catkin-packages/

let me know if that works. It worked for me, and I was able to compile. Cheers, Hugo