Open QinZiwen opened 7 years ago
Hi,
You may want to upgrade to 16.04 to get vision-opencv package built already with OpenCV3.
Otherwise, the error above tells that rtabmap is building against OpenCV2:
With OpenCV 2 nonfree module (SIFT/SURF) = NO (not found, License: BSD)
Make sure to clean the build directory to reset the CMake cache (path of OpenCV from previous builds).
$ rm rtabmap/build/*
I suggest to remove completely all OpenCV2 installations from your computer. This may uninstall ros packages depending on it, if so, just catkin_make from git source again all these packages so they link on your OpenCV3 installation. Example:
$ cd ~/catkin_ws/src
$ git clone https://github.com/ros-perception/vision_opencv.git
$ cd ..
$ catkin_make
cheers
Thanks, Opencv2 is a good choice!
I have install opencv3.2.0 and cuda8.0, but when I make rtabmap, some errors show:
And I find you said that " If you want OpenCV3, you should build ros vision-opencv package yourself (and all ros packages depending on it) so it can link on OpenCV3.". I dont known how to use vision-opencv to ros.
Thanks for your help!