我正在尝试使用macOS Sierra在我的系统上按照此处的说明安装PCL(Point Cloud Library):http://ns50.pointclouds.org/documentation/tutorials/compiling_pcl_macosx.php
我进入“构建PCL”步骤,但在运行“cmake ..”命令时收到以下错误:
[ 10%] Linking CXX shared library ../lib/libpcl_io.dylib
Undefined symbols for architecture x86_64:
"boost::this_thread::hiden::sleep_until(timespec const&)", referenced from:
pcl::HDLGrabber::readPacketsFromPcap() in hdl_grabber.cpp.o
pcl::OpenNIGrabber::start() in openni_grabber.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_io.1.8.0.99.dylib] Error 1
make[1]: *** [io/CMakeFiles/pcl_io.dir/all] Error 2
make: *** [all] Error 2
感谢您的帮助!