ROS catkin_make issue install with AlexNet Example

3 ビュー (過去 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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by