Skip to content
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

error while catkin_make #34

Open
Mehdi20000103 opened this issue Jun 2, 2022 · 1 comment
Open

error while catkin_make #34

Mehdi20000103 opened this issue Jun 2, 2022 · 1 comment

Comments

@Mehdi20000103
Copy link

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_, int, int, bool) »
collect2: error: ld returned 1 exit status

I tried all solutions on internet but without any result.
I am using OpenCV 3.4.14

@alexook
Copy link

alexook commented Feb 14, 2023

It seem that you haven well deploy your opencv and cudatoolkit.Your should rebuild your opencv source code and enable cuda option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants