catkin_make vs catkin_make -DCMAKE_BUILD_TYPE = Release

asked 2019-04-15 05:55:13 -0600

dong_ym gravatar image

I have write a ros package to publish 3D lidar messages, and use the node mode. And I use catkin_make to compile this project, then I run this node,it works well. But when I use catkin_make -DCMAKE_BUILD_TYPE = Release to compile this project, it can be compiled successfully, and when I run this node to publish the messages. when some node subscribe this message,this node is died. But when there are no node to subscribe this node, it works well.

By the way,my ros version is kinetic . But when I use ros indigo, such two compile mode can works well.

edit retag flag offensive close merge delete


I have analyse the log message, but there are no solution.

dong_ym gravatar imagedong_ym ( 2019-04-15 05:56:38 -0600 )edit