Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to compile all packages ROS with debug info?

I want to debugging the node "nxt_assisted_teleop" in Eclipse. I've written in the file CMakeList.txt in line 10 "set (ROS_BUILD_TYPE RelWithDebInfo)", but I got an run-time error:

assisted_teleop: /opt/ros/diamondback/stacks/geometry/eigen/include/Eigen/src/Core/DenseStorage.h:69: Eigen::internal::plain_array<t, size,="" matrixorarrayoptions,="" 16="">::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(array) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox/UnalignedArrayAssert.html" " * READ THIS WEB PAGE !!! *"' failed.

I think it's because of what other nodes are compiled without debug info. I want to try to compile all packages with debug information. How to do it?