尝试在我的PCL版本上运行make
时,我收到如下所示的编译错误。
已安装所有依赖项,但我想知道是否在installation page上未指定其他安装约束。
非常感谢任何建议!
标记
[ 57%] Building CXX objectsurface/CMakeFiles/pcl_surface.dir/src/3rdparty/poisson4/marching_cubes_poisson.cpp.o
Linking CXX shared library ../lib/libpcl_surface.dylib
Undefined symbols for architecture x86_64:
"_qh_prepare_output", referenced from:
pcl::ConvexHull<pcl::PointXYZ>::performReconstruction2D(pcl::PointCloud<pcl::PointXYZ>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZ>::performReconstruction3D(pcl::PointCloud<pcl::PointXYZ>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZI>::performReconstruction2D(pcl::PointCloud<pcl::PointXYZI>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZI>::performReconstruction3D(pcl::PointCloud<pcl::PointXYZI>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZL>::performReconstruction2D(pcl::PointCloud<pcl::PointXYZL>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZL>::performReconstruction3D(pcl::PointCloud<pcl::PointXYZL>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
pcl::ConvexHull<pcl::PointXYZRGBA>::performReconstruction2D(pcl::PointCloud<pcl::PointXYZRGBA>&, std::vector<pcl::Vertices, std::allocator<pcl::Vertices> >&, bool) in convex_hull.cpp.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libpcl_surface.1.7.1.dylib] Error 1
make[1]: *** [surface/CMakeFiles/pcl_surface.dir/all] Error 2
make: *** [all] Error 2