yehengchen / Object-Grasp-Detection-ROS

Real-time Object Grasp Detection ROS package for YOLO
221 stars 73 forks source link

libdarknet_ros_lib.so reference undefined #3

Open Miguel-GitHub opened 4 years ago

Miguel-GitHub commented 4 years ago

Hi, I try to use yolov3 in ros_melodic and get the following error: [100%] Linking CXX executable /home/miguel/tiago_nuevo/devel/lib/darknet_ros/darknet_ros /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia a open_video_stream' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia aload_image_cv' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia a make_window' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia aget_image_from_stream' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia a show_image_cv' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia aipl_into_image' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia a ipl_to_image' sin definir /home/miguel/tiago_nuevo/devel/lib/libdarknet_ros_lib.so: referencia asave_image_png' sin definir collect2: error: ld returned 1 exit status YOLOv3-ROS/darknet_ros/CMakeFiles/darknet_ros.dir/build.make:211: recipe for target '/home/miguel/tiago_nuevo/devel/lib/darknet_ros/darknet_ros' failed make[2]: [/home/miguel/tiago_nuevo/devel/lib/darknet_ros/darknet_ros] Error 1 CMakeFiles/Makefile2:3001: recipe for target 'YOLOv3-ROS/darknet_ros/CMakeFiles/darknet_ros.dir/all' failed make[1]: [YOLOv3-ROS/darknet_ros/CMakeFiles/darknet_ros.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Miguel-GitHub commented 4 years ago

I am missing a package or is the CMakelist.txt file not working well?