Open yuchuxiang opened 3 years ago
你解决了这个问题没
在devel/include里面,不是源程序包的而是compile产生的
我也遇到了相同的问题,解决办法是删了build和devel文件夹,多编译几次
There is a dependency in the CMakeFile missing. Add this line to ensure the livox_ros_driver messages are compiled first. add_dependencies(r3live_LiDAR_front_end ${catkin_EXPORTED_TARGETS})
I did not understand what you said; However, I feel your answer related to my question. I installed r3live. I want to use it. When I type rostopic hz /livox/lidar, it says:
ERROR: Cannot load message class for [livox_ros_driver/CustomMsg]. Are your messages built?
Can you explain how can I fix that?
Thank You,
Hi @farhad-dalirani, This means that the livox_ros_driver/CustomMsg is not compiled. Have you compiled the livox_ros_driver? Have you sourced your ros_ws afterwards, e.g. source ~/catkin_ws/devel/setup.bash?
Thank you, source ~/catkin_ws/devel/setup.bash did the job.
There is a dependency in the CMakeFile missing. Add this line to ensure the livox_ros_driver messages are compiled first. add_dependencies(r3live_LiDAR_front_end ${catkin_EXPORTED_TARGETS})
this is useful
There is a dependency in the CMakeFile missing. Add this line to ensure the livox_ros_driver messages are compiled first. add_dependencies(r3live_LiDAR_front_end ${catkin_EXPORTED_TARGETS})
I used your method but encountered a new problem
CMake Error at CTLO/CMakeLists.txt:22 (add_dependencies): add_dependencies called with incorrect number of arguments
It seems like there are some issues with "add_dependencies" can you tell me the answer
fatal error: livox_ros_driver/CustomMsg.h: No such file or directory
include <livox_ros_driver/CustomMsg.h>
缺少这个头文件是什么情况,在原程序包中也没找到这个livox_ros_driver/CustomMsg.h头文件,这个怎么解决?