rgbdslam_v2
rgbdslam_v2 copied to clipboard
"[rgbdslam-1] has died!" upon roslaunch rgbdslam rgbdslam.launch
When I run roslaunch rgbdslam rgbdslam.launch
, I get the following errors after the roslaunch server starts up. Then it dies. The instructions here are too complicated for me and feel unnecessary, and are a bit out dated. Hopefully there's some other fix.
================================================================================REQUIRED process [rgbdslam-1] has died!
process has died [pid 29367, exit code -11, cmd /home/aaron/catkin_ws/devel/lib/rgbdslam/rgbdslam __name:=rgbdslam __log:=/home/aaron/.ros/log/6b13f86a-fc4b-11e8-9960-f0421c1d4ccd/rgbdslam-1.log].
log file: /home/aaron/.ros/log/6b13f86a-fc4b-11e8-9960-f0421c1d4ccd/rgbdslam-1*.log
Initiating shutdown!
================================================================================
[rgbdslam-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
Any ideas, thanks!
comment the line “add_compile_options(-std=c++11)” in CMakeLists.txt, this commit breaks rgbdslam, the process segment faults at start because pcl has to be compiled with c++11
I had the same issue and @WeidiDeng answer solve it for me :-)
Had same issue.
comment the line “add_compile_options(-std=c++11)” in CMakeLists.txt, this commit breaks rgbdslam, the process segment faults at start because pcl has to be compiled with c++11
Ok, but then it breaks qt_gui.cpp.o
and a lot of other stuff that needs C++11...
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
...
And what you said doesn't make sense to me, if pcl has to be compiled with C++11, how would disabling C++11 compilation help? If you comment that line, it disables C++11 support, as far as I understand CMAKE syntax.
I was able to compile and run this following this tutorial, written by the author.
I believe using ROS kinetic + Ubuntu 16.04 will invariably yield this error, since it links PCL 1.7 which breaks with C++11. This is weird considering it's the recommended system inside the readme.