ROS catkin_make issue install with AlexNet Example
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Tohru Kikawada
2020-6-2
The same issue was reported below and you may have to update your CMake as suggested.
1 个评论
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 Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!