LiuFG / Camera-Lidar-Fusion-ROS

fully applied in ROS. simply fuse the category and location information
182 stars 32 forks source link

cmake failed #2

Open asliburcucesur opened 3 years ago

asliburcucesur commented 3 years ago

I tried to clone it to my workspace but I got a fatal error like:

**/home/asli/kon_grad/catkin_ws/src/Camera-Lidar-Fusion-ROS/depthGet/src/depthget.cpp:3:10: fatal error: depthGet/BoundingBoxes.h: No such file or directory

include <depthGet/BoundingBoxes.h>**

Camera-Lidar-Fusion-ROS/depthGet/CMakeFiles/depthget.dir/build.make:62: recipe for target 'Camera-Lidar-Fusion-ROS/depthGet/CMakeFiles/depthget.dir/src/depthget.cpp.o' failed make[2]: [Camera-Lidar-Fusion-ROS/depthGet/CMakeFiles/depthget.dir/src/depthget.cpp.o] Error 1 CMakeFiles/Makefile2:10003: recipe for target 'Camera-Lidar-Fusion-ROS/depthGet/CMakeFiles/depthget.dir/all' failed make[1]: [Camera-Lidar-Fusion-ROS/depthGet/CMakeFiles/depthget.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 10%] Built target gazebo_msgs_generate_messages_py

**/home/asli/kon_grad/catkin_ws/src/Camera-Lidar-Fusion-ROS/opencv_deal/src/showROI.cpp:19:10: fatal error: opencv_deal/BboxLes.h: No such file or directory

include <opencv_deal/BboxLes.h>**

      ^~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. Screenshot from 2021-03-14 21-54-21

Screenshot from 2021-03-14 21-53-40

There is not all the necessary files to download as I understood, I hope you can help me with this.

saisandeepm3006 commented 3 years ago

@asliburcucesur I think normally <depthGet/BoundingBoxes.h> is of darknet ros msgs, You can find some information here (https://github.com/leggedrobotics/darknet_ros/issues/45). Also make sure that in CMakeLists.txt the pcl dir is set by author. So PLease change accordingly . This kind of errors normally comes when it couldnt find required header files.

If I am not wrong this kind of error might pop sevral times

@LiuFG Can you please elaborate on detailed build instruction if it is possible so @asliburcucesur can use it without much hassle.