-
Notifications
You must be signed in to change notification settings - Fork 151
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
Undefined Reference to cv::CUDA when library is getting linked #14
Comments
I had to reflash my Tx2 and reinstall to link the libraries properly. |
Also, as written in Raul Mur-Artal's instructions, ORB-SLAM only works with OpenCV 3.1.0 out of the box. You can check your OpenCV version in
stands for OpenCV 3.4.1. ORB-SLAM also works fine with OpenCV 3.4.1, you just have to replace the line
of CMakeLists.txt by
|
Yea I think I came across that solution at some point, and it works. I think the issue was that I had installed ROS' version of OpenCV and ORB SLAM was just linking to that version of OpenCV first. By just changing the specified version of OpenCV version to be 3.4.1 (or the version that you directly installed), I was able to solve the problem without having to reflash and reinstall. |
Right! Later I also saw the conflict with the ROS version, so I ended up replacing the above mentioned line by
as described in the ROS answers. This method avoids that cmake is searching for OpenCV in the ROS directories. |
I have the same error as #7 but I verified that I installed OpenCV with CUDA. I was previously getting this project to compile before I reflashed my Tx2 but I had to reflash my Tx2 and reinstall all the dependencies. I was originally getting issue #6 but after linking nvToolsExt to my /usr/lib folder I still can't see any CUDA references.
The text was updated successfully, but these errors were encountered: