执行make命令编译时,找不到#include <pcl/surface/on_nurbs/fitting_surface_tdm.h>文件,但是在安装的pcl库中pcl/surface/on_nurbs/可以找到fitting_surface_tdm.h文件:
Scanning dependencies of target sys
[ 11%] Building CXX object CMakeFiles/sys.dir/src/CellInfo.cpp.o
[ 22%] Building CXX object CMakeFiles/sys.dir/src/NoiseFilterer.cpp.o
[ 33%] Building CXX object CMakeFiles/sys.dir/src/NormalEst.cpp.o
[ 44%] Building CXX object CMakeFiles/sys.dir/src/PositionAdjustment.cpp.o
[ 55%] Building CXX object CMakeFiles/sys.dir/src/RawDataReader.cpp.o
[ 66%] Building CXX object CMakeFiles/sys.dir/src/SurfaceFitting.cpp.o
In file included from /home/codes/trsys/src/SurfaceFitting.cpp:1:0:
/home/codes/trsys/src/SurfaceFitting.h:6:10: fatal error: pcl/surface/on_nurbs/fitting_surface_tdm.h: 没有那个文件或目录
#include <pcl/surface/on_nurbs/fitting_surface_tdm.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/sys.dir/build.make:182: recipe for target 'CMakeFiles/sys.dir/src/SurfaceFitting.cpp.o' failed
make[2]: *** [CMakeFiles/sys.dir/src/SurfaceFitting.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/sys.dir/all' failed
make[1]: *** [CMakeFiles/sys.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2