qq_33677819
2021-04-21 21:34
采纳率: 100%
浏览 278

在Ubuntu18上装有pcl1.9,fitting_surface_tdm.h头文件找不到

执行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

 

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

3条回答 默认 最新

相关推荐 更多相似问题