ORB-SLAM2-GPU2016-final icon indicating copy to clipboard operation
ORB-SLAM2-GPU2016-final copied to clipboard

/usr/bin/ld: cannot find -lnvToolsExt

Open Warsin opened this issue 6 years ago • 3 comments

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

Warsin avatar May 14 '18 07:05 Warsin

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

nathantsoi avatar May 16 '18 07:05 nathantsoi

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

connorsoohoo avatar Jul 26 '18 22:07 connorsoohoo

@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.

SquirminatorHotHead avatar Dec 04 '19 07:12 SquirminatorHotHead