PCL can't find header file

asked 2020-08-08 08:01:22 -0500

M.Halwani gravatar image
    /home/ubuntu/emvs_ws/src/rpg_emvs/mapper_emvs/src/realtime.cpp:25:62: fatal error: pcl/registration/impl/incremental_registration.hpp: No such file or directory
compilation terminated.
rpg_emvs/mapper_emvs/CMakeFiles/realtime_emvs.dir/build.make:62: recipe for target 'rpg_emvs/mapper_emvs/CMakeFiles/realtime_emvs.dir/src/realtime.cpp.o' failed
make[2]: *** [rpg_emvs/mapper_emvs/CMakeFiles/realtime_emvs.dir/src/realtime.cpp.o] Error 1

I'm getting this error after catkin_make

Theses are the includes in realtime.cpp

#include <pcl/registration/incremental_registration.h>
#include <pcl/registration/icp.h>
edit retag flag offensive close merge delete

Comments

@M.Halwani, did you include properly the PCL headers in your CMakeLists.txt?

Weasfas gravatar image Weasfas  ( 2020-08-09 07:14:41 -0500 )edit