yunchih / ORB-SLAM2-GPU2016-final

http://yunchih.github.io/ORB-SLAM2-GPU2016-final/
Other
325 stars 150 forks source link

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

Open Warsin opened 6 years ago

Warsin commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

SquirminatorHotHead commented 4 years ago

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