catkin_make vs catkin_make -DCMAKE_BUILD_TYPE = Release

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

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

Comments

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

dong_ym gravatar image dong_ym  ( 2019-04-15 05:56:38 -0500 )edit