-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error #121
Comments
You should update ( |
@matlabbe Thank you. I " git pull my rtabmap source", but when I "make -j4", some error show me:
My gtsam version is 3.2.1, The error is appear because my gtsam version mistake? |
indeed you should use gtsam latest version: |
new error appear:
|
Can you do:
Looks like you have still rtabmap binaries installed (
cheers |
Thanks for your help, but there are new errors:
|
The For the cheers |
Sorry for the delay in my reply, my lab have been power cut in pass two days. when I run kinect2's launch , some errors show as following:
|
looks like visual_odometry crashed, did you subscribed the right topic? |
The topic right, and I am try to pull the new rtabmap and rtabmap_ros, build again, no error. But when I run, the errors above show again. In .ros/log/, there no have the log file that my terminal cue. |
feel like it's because you didn't clean the old rtabmap in indigo after you rebuild and installed both. |
The nodes may not load the right version of
|
|
@willdzeng , I follow you running this command, but the error show again. |
Looks like it's using the right library. An easy way to fix is just to reinstall ubuntu and ROS and build rtabmap from source again. One thing it worked for me is go to rtbamap's build folder and do a |
Sorry ~/catkin_ws/devel/lib/rtabmap_ros$ ldd rtabmapviz | grep rtabmap
librtabmap_ros.so => /home/mathieu/catkin_ws/devel/lib/librtabmap_ros.so (0x00007feb8dd7e000)
librtabmap_core.so.0.11 => /home/mathieu/catkin_ws/devel/lib/librtabmap_core.so.0.11 (0x00007feb8acea000)
librtabmap_utilite.so.0.11 => /home/mathieu/catkin_ws/devel/lib/librtabmap_utilite.so.0.11 (0x00007feb8aacc000)
librtabmap_gui.so.0.11 => /home/mathieu/catkin_ws/devel/lib/librtabmap_gui.so.0.11 (0x00007feb8a57a000) |
|
I don't have a cue of what is the problem. Is standalone |
@matlabbe Thank you very much! |
When I rebuild rtabmap, terminal show some thing as follows which I think that it maybe is a bug:
|
that's just a warning in pcl 1.7 library. |
I type " roslaunch rtabmap_ros rgbd_mapping.launch launch_prefix:="xterm -e gdb -ex run --args" to debug rtabmap for tacking some useful thing.The log is as follows:
|
@QinZiwen Looks like a PCL error. I found this post: http://answers.ros.org/question/194699/segmentation-fault-when-using-correspondencerejectorsampleconsensus/ maybe related to C++11 or a bug in that PCL version:
Can you show the output of CMake for the rtabmap library? So we can see if c++11 is used. |
@jacksonkr yeah I moved the question to #127 |
area_picking_event.h:64:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] is this really causing an issue? |
I see this warning all the time, should not be the problem here. |
|
Ok, we will try without $ cd /home/turtlebot/Project_slam/rtabmap/build
$ cmake -DWITH_G2O=OFF -DWITH_GTSAM=OFF ..
# make sure on the cmake status there is no "-std=c++11" in CMAKE_CXX_FLAGS
$ make
$ ../bin/rtabmap |
@matlabbe So sorry for the delay in my reply. The problem has been solve, thank you for your help."cmake -DWITH_G2O=OFF -DWITH_GTSAM=OFF .." means trying to without g2o and gtsam? |
yes, you will build the rtabmap without g2o and gtsam. |
So it is indeed a problem of libraries supporting c++11 and others not. The best is that all libraries are built with or without c++11. If you want to use g2o or GTSAM, upgrading to Ubuntu 16.04 may help for c++11 compatibility. |
@matlabbe @willdzeng Thanks for your help during this time! |
@matlabbe I had read your paper "Appearance-Based Loop Closure Detection for Online Large-Scale and Long-Term Operation". Does this paper main idea is memory management? In addition, what difference Rtabmap has compared with other SLAM? |
Yes the main novelty is the memory management for long-term online loop closure detection. In that particular paper, you can compare loop closure detection approach with other BOW (bag-of-words) approaches. I'm working on a paper comparing the whole SLAM system. cheers |
Hi I am getting below error, please help to solve the above error -- The C compiler identification is GNU 7.2.1
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:714 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:169 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:166 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:165 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:167 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at CMakeLists.txt:168 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:122 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:117 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:113 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:109 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:62 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:72 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:77 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:105 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:82 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:87 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:92 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:67 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:97 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at unit_tests/CMakeLists.txt:101 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/benchmarks/CMakeLists.txt:6 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/benchmarks/CMakeLists.txt:21 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/benchmarks/CMakeLists.txt:33 (add_executable):
Some of these libraries may not be found correctly. CMake Warning at src/benchmarks/CMakeLists.txt:44 (add_executable):
Some of these libraries may not be found correctly. -- Generating done |
Those warnings don't seem related to |
I use Ubuntu14.04 , ros indigo and kinect2, but when I build, some error show me:
help me, Thank you very much!
The text was updated successfully, but these errors were encountered: