catkin_make error: No such file or directory

asked 2017-08-16 21:32:24 -0500

supersampard gravatar image

updated 2017-08-17 18:47:31 -0500

ahendrix gravatar image

Hi there, I tried to cmake_catkin but_velodyne package.

However, I met this problem.
fatla error: but_velodyne/VelodynePointCloud.h: No such file or directory
#include <but_velodyne/VelodynePointCloud.h>

 fatal error: but_velodyne/VelodynePointCloud.h: No such file or directory
 #include <but_velodyne/VelodynePointCloud.h>

my CMakeLists.txt is below (find_package part)

find_package(catkin REQUIRED COMPONENTS
  cmake_modules
  roscpp
  nodelet
  pcl_ros
  sensor_msgs
  nav_msgs
  velodyne_msgs
  velodyne_pointcloud
  roslint
  eigen_conversions
  pcl_conversions
  )

pcakage.xml is below(also, some part)

  <build_depend>roscpp</build_depend>
  <build_depend>nodelet</build_depend>
  <build_depend>pcl_ros</build_depend>
  <build_depend>sensor_msgs</build_depend>
  <build_depend>nav_msgs</build_depend>
  <build_depend>velodyne_msgs</build_depend>
  <build_depend>velodyne_pointcloud</build_depend>
  <build_depend>cmake_modules</build_depend>
  <build_depend>roslint</build_depend>

  <run_depend>nodelet</run_depend>
  <run_depend>pcl_ros</run_depend>
  <run_depend>sensor_msgs</run_depend>
  <run_depend>nav_msgs</run_depend>
  <run_depend>velodyne_msgs</run_depend>
  <run_depend>velodyne_pointcloud</run_depend>

Could you explain to solve it?

edit retag flag offensive close merge delete

Comments

It looks like you're missing a dependency between the message generation and the library compilation for your package, but it's hard to say for sure because you haven't included that part of your CMakeLists.txt ( a link to the package on github would work too).

ahendrix gravatar imageahendrix ( 2017-08-17 18:48:39 -0500 )edit