VINS-Fusion-gpu
VINS-Fusion-gpu copied to clipboard
error while catkin_make
Hello everyone,
So i am trying to test a SLAM algo with OAK camera following the steps in the tuto of: https://www.arducam.com/docs/opencv-ai-kit-oak/performing-location-with-visual-slam/#ftoc-heading-9.
I have a problem in the step 5.5 when building the last 3 targets kitti_gps_test, kitti_odom_test and vins_node. I have as an error :
usr/bin/ld : /home/mehdi/Bureau/stage/depthai/ros_workspace/OAK_Nvidia_Jetson_ROS_SLAM_VINS/VINS_GPU/devel/lib/libvins_lib.so : undefined reference to « cv::cuda::createGoodFeaturesToTrackDetector(int, int, double, double, int, bool, double) »
/usr/bin/ld : /home/mehdi/Bureau/stage/depthai/ros_workspace/OAK_Nvidia_Jetson_ROS_SLAM_VINS/VINS_GPU/devel/lib/libvins_lib.so : undefined reference to « cv::cuda::SparsePyrLKOpticalFlow::create(cv::Size_
I tried all solutions on internet but without any result. I am using OpenCV 3.4.14
It seem that you haven well deploy your opencv and cudatoolkit.Your should rebuild your opencv source code and enable cuda option.