问题一:
cmake失败
Qt5WebKit could not be found because dependency is required to have exact version
其中Qt5指向anaconda中的qt目录
装了anaconda导致cmake交叉编译引导错误
rm -rf anaconda3
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_SHARED_LIBS=OFF -D WITH_OPENMP=ON -D ENABLE_PRECOMPILED_HEADERS=OFF …
问题二:
make失败
recipe for target ‘all‘ failed make
其中pcl::visualization::CloudViewer::~CloudViewer()’未定义的引用
需要在cmakelist.txt中的target_link_libraries加上${PCL_LIBRARIES}