No such file or directory [closed]

asked 2020-07-10 00:49:59 -0500

Chao Chen gravatar image

One of my source file include library "pcl_ros/point_cloud.h" However, the error pops up "/home/chao/catkin_ws/src/beginner_tutorials/src/pointcloudlistener.cpp:2:33: fatal error: pcl_ros/point_cloud.h: No such file or directory"

My pcl_ros/point_cloud.h file locates at " /usr/local/include/pcl-1.8/pcl_ros/point_cloud.h". I change the lines in my Cmakefile like below. But the error still exists. How can I fix this problem?

include_directories(

include

${catkin_INCLUDE_DIRS} /usr/local/include/pcl-1.8 )

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by mgruhler
close date 2020-07-10 02:12:33.169723

Comments

duplicate of #q356805

mgruhler gravatar image mgruhler  ( 2020-07-10 02:12:43 -0500 )edit