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

/usr/bin/ld: cannot find -lnvToolsExt #13

Open
Warsin opened this issue May 14, 2018 · 3 comments
Open

/usr/bin/ld: cannot find -lnvToolsExt #13

Warsin opened this issue May 14, 2018 · 3 comments

Comments

@Warsin
Copy link

Warsin commented May 14, 2018

Linking CXX shared library lib/libORB_SLAM2.so
/usr/bin/ld: cannot find -lnvToolsExt
collect2: error: ld returned 1 exit status
CMakeFiles/ORB_SLAM2.dir/build.make:1957: recipe for target 'lib/libORB_SLAM2.so' failed
make[2]: *** [lib/libORB_SLAM2.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ORB_SLAM2.dir/all' failed
make[1]: *** [CMakeFiles/ORB_SLAM2.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

@nathantsoi
Copy link

i had the same problem until i built opencv3 from source w/ cuda: https://github.com/hoangthien94/ORB_SLAM2_CUDA#build-opencv-with-cuda-for-tegra

@connorsoohoo
Copy link

#6 should help. You need to make sure that nvToolsExt.so is getting linked properly to your usr/lib folder

@SquirminatorHotHead
Copy link

@Warsin My solution is to install OpenCV by myself. The OpenCV w/Cuda built with JetPack doesn't support this -lnvToolExt. It will take hours to install OpenCV again but worth it.

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

4 participants