ros_deep_learning icon indicating copy to clipboard operation
ros_deep_learning copied to clipboard

catkin_make failed after linking dependancies

Open ARLunan opened this issue 4 years ago • 0 comments

Nano B01, OpenCV updated from Source, ROS Melodic Full Desktop Install that runs ~/roscore successfully.

  • NVIDIA Jetson Nano (Developer Kit Version)
    • Jetpack 4.3 [L4T 32.3.1]
    • NV Power Mode: MAXN - Type: 0
    • jetson_clocks service: inactive
  • Libraries:
    • CUDA: 10.0.326
    • cuDNN: 7.6.3.28
    • TensorRT: 6.0.1.10
    • Visionworks: 1.6.0.500n
    • OpenCV: 4.1.1 compiled CUDA: YES
    • VPI: 0.1.0
    • Vulkan: 1.1.70

Following ros_deep_learning documents, Checked dependancies with rosdep, All required rosdeps installed successfully. Compile failed after successful Building and Linking. //usr/local/lib/libopencv_features2d.so.4.1: undefined reference to cv::ocl::isOpenCLActivated()' //usr/local/lib/libopencv_features2d.so.4.1: undefined reference to cv::ocl::isOpenCLActivated()' collect2: error: ld returned 1 exit status ros_deep_learning/CMakeFiles/imagenet.dir/build.make:152: recipe for target '/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/imagenet' failed make[2]: *** [/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/imagenet] Error 1 CMakeFiles/Makefile2:1884: recipe for target 'ros_deep_learning/CMakeFiles/imagenet.dir/all' failed make[1]: *** [ros_deep_learning/CMakeFiles/imagenet.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... collect2: error: ld returned 1 exit status ros_deep_learning/CMakeFiles/segnet.dir/build.make:152: recipe for target '/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/segnet' failed make[2]: *** [/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/segnet] Error 1 CMakeFiles/Makefile2:1719: recipe for target 'ros_deep_learning/CMakeFiles/segnet.dir/all' failed make[1]: *** [ros_deep_learning/CMakeFiles/segnet.dir/all] Error 2 [100%] Built target ros_deep_learning_nodelets //usr/local/lib/libopencv_features2d.so.4.1: undefined reference to `cv::ocl::isOpenCLActivated()' collect2: error: ld returned 1 exit status ros_deep_learning/CMakeFiles/detectnet.dir/build.make:152: recipe for target '/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/detectnet' failed make[2]: *** [/home/turtlebotnv/catkin_ws/devel/lib/ros_deep_learning/detectnet] Error 1 CMakeFiles/Makefile2:1650: recipe for target 'ros_deep_learning/CMakeFiles/detectnet.dir/all' failed make[1]: *** [ros_deep_learning/CMakeFiles/detectnet.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed

ARLunan avatar Jun 05 '20 23:06 ARLunan