小编Bra*_*ers的帖子

在Ubuntu 16.04上编译PCL 1.7,CMake中的错误生成了Makefile

我正在尝试在Ubuntu 16.04上运行PCL 1.7(点云库,而不是其他pcl).我最终希望用于C++的东西,但是现在我只是想让这些例子运行起来.我正在使用Ubuntu(GNU 5.3.1)和Cmake版本3.5.2附带的默认编译器.我一直在关注PCL网站上的指示(这里这里),但是在让Cmake构建它想要构建的东西后,我现在停留在使用'make'命令的位置.这是我得到的错误

[ 50%] Building CXX object CMakeFiles/pcd_write.dir/pcd_write.cpp.o
<command-line>:0:15: warning: missing whitespace after the macro name
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libproj.so', needed by 'pcd_write'.  Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pcd_write.dir/all' failed
make[1]: *** [CMakeFiles/pcd_write.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Run Code Online (Sandbox Code Playgroud)

当我正在建造东西时,Cmake也给了我警告,那些就在这里.他们不会阻止它运行,但它们可能是相关的.

-- Found OpenNI2: /usr/lib/libOpenNI2.so  
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png …
Run Code Online (Sandbox Code Playgroud)

c++ ubuntu makefile cmake point-cloud-library

11
推荐指数
2
解决办法
1万
查看次数

标签 统计

c++ ×1

cmake ×1

makefile ×1

point-cloud-library ×1

ubuntu ×1