ROS catkin_make issue install with AlexNet Example

조회 수: 11(최근 30일)
Viet Nguyen
Viet Nguyen 2020년 2월 14일
댓글: Matti Kaupenjohann 2021년 3월 12일
How do I resolve my catkin_make error from the msra deployed_nn package from:
The following is the result of catkin_make
...
-- ==> add_subdirectory(msra_deployed_nn)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "alexnet" in directory /home/arbot/catkin_ws/src/msra_deployed_nn
-- Configuring incomplete, errors occurred!
See also "/home/arbot/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/arbot/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:320: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
I was able to successfully generate the code from MATLAB and deploy onto my JetsonTX2, however after trying to run the example I got that error message. Am I missing something or do I need to correct something in the CMakeLists.txt?

답변(1개)

Tohru Kikawada
Tohru Kikawada 2020년 6월 2일
The same issue was reported below and you may have to update your CMake as suggested.
  댓글 수: 1
Matti Kaupenjohann
Matti Kaupenjohann 2021년 3월 12일
Updating cmake is a very bad idea, because the necessary update, which is mentioned in the issue (3.12.2) is not available in Ubuntu 18.04, which most of (at least our jetson nanos) are working with. Because of a necessary clean build of cmake 3.12.2 with ```sudo ap-get remove --purge --auto-remove cmake``` the depencies will mess up the protoction tools.
The complete Example needs a bit of coding love.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by