Robotics StackExchange | Archived questions

No such file or directory

One of my source file include library "pclros/pointcloud.h" However, the error pops up "/home/chao/catkinws/src/beginnertutorials/src/pointcloudlistener.cpp:2:33: fatal error: pclros/pointcloud.h: No such file or directory"

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

include_directories(

include

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

Asked by Chao Chen on 2020-07-10 00:49:59 UTC

Comments

duplicate of #q356805

Asked by mgruhler on 2020-07-10 02:12:43 UTC

Answers