请选择 进入手机版 | 继续访问电脑版

点云技术相关产学研社区

 找回密码
 立即注册加入PCL中国点云技术相关产学研社区

扫一扫,访问微社区

查看: 18940|回复: 10

初学PCL,请教几个问题。

[复制链接]
发表于 2014-11-11 04:34:56 | 显示全部楼层 |阅读模式
我按照教程里说的,先安装了PCL1.6 all in one ,然后Cmake和VS2013也装好了。
按照英文教程里提供的步骤(我挑了个看起来比较初级的Writing Point Cloud data to PCD files)
1.复制教程里的代码,新建了个.cpp文件,再写好CMakeLists.txt文件。
2.用Cmake,在where is the source和where to build上选好路径,分别是:
D:/WritePCD
D:/WritePCD/build
然后点击Configure,在弹出的设定框里选择Visual studio 12 2013 Win64,使用默认编译器,接着就出现以下错误。
The C compiler identification is MSVC 18.0.30723.0
The CXX compiler identification is MSVC 18.0.30723.0
Check for working C compiler using: Visual Studio 12 2013 Win64
Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 12 2013 Win64
Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE)
Found eigen: C:/Program Files/PCL 1.6.0/3rdParty/Eigen/include  
Could NOT find Boost
CMake Error at C:/Program Files/PCL 1.6.0/cmake/PCLConfig.cmake:39 (message):
  common is required but boost was not found
Call Stack (most recent call first):
  C:/Program Files/PCL 1.6.0/cmake/PCLConfig.cmake:354 (pcl_report_not_found)
  C:/Program Files/PCL 1.6.0/cmake/PCLConfig.cmake:500 (find_external_library)
  CMakeLists.txt:5 (find_package)


Configuring incomplete, errors occurred!
See also "D:/WritePCD/build/CMakeFiles/CMakeOutput.log".

我不太明白这是什么意思,用google搜了半天也找不到解决办法。查官网的教程里完全没提到类似问题该如何处理。
感觉官网的教程不怎么考虑初学者,我完全摸不到头绪该如何去学习PCL。


回复

使用道具 举报

发表于 2014-11-12 09:33:47 | 显示全部楼层
建议别用vs2013
还有cmake没有找到boost
回复 支持 反对

使用道具 举报

发表于 2015-4-5 19:56:21 | 显示全部楼层
楼主我的问题跟你一样~解决了告知一下呗。谢谢
回复 支持 反对

使用道具 举报

发表于 2015-4-28 13:07:14 | 显示全部楼层
你们有没有解决这个问题的,急用:Q
回复 支持 反对

使用道具 举报

发表于 2015-7-13 22:41:05 | 显示全部楼层
同问,卡了两三天了
回复 支持 反对

使用道具 举报

发表于 2015-8-11 22:31:36 | 显示全部楼层
将CMake\share\cmake-3.0\Modules\FindBoost.cmake内容用官网配的最新的FindBoost.cmake内容覆盖
或修改PCLConfig.cmake里面Boost搜索的路径
回复 支持 反对

使用道具 举报

发表于 2016-11-7 21:04:36 | 显示全部楼层
泪随雨下 发表于 2015-8-11 22:31
将CMake\share\cmake-3.0\Modules\FindBoost.cmake内容用官网配的最新的FindBoost.cmake内容覆盖
或修改PCL ...

请问官网配的最新的FindBoost.cmake的链接在哪里
回复 支持 反对

使用道具 举报

发表于 2017-3-5 14:53:12 | 显示全部楼层
泪随雨下 发表于 2015-8-11 22:31
将CMake\share\cmake-3.0\Modules\FindBoost.cmake内容用官网配的最新的FindBoost.cmake内容覆盖
或修改PCL ...

大神,如何修改PCLConfig.cmake里面Boost搜索的路径?
回复 支持 反对

使用道具 举报

发表于 2017-6-17 16:50:41 | 显示全部楼层
下载一个boost,安装好重新编译就可以了,反正我的64位系统是这样解决的
下载地址:http://download.csdn.net/detail/zengchunzengchuna/9873124
回复 支持 反对

使用道具 举报

发表于 2018-5-15 20:06:12 | 显示全部楼层
请问如何解决的
回复 支持 反对

使用道具 举报

本版积分规则

QQ|小黑屋|点云技术相关产学研社区 ( 陕ICP备13001629号 )

GMT+8, 2024-3-29 01:56 , Processed in 1.632358 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表