OSX Mountain Lion PCL Point Cloud Library编译错误(找不到架构x86_64的符号)

时间:2014-05-20 15:14:48

标签: macos cmake osx-mountain-lion x86-64 point-cloud-library

尝试在我的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

0 个答案:

没有答案