编译pcl提示openni2被disabled

分类: 常见错误总结

Posted by 白夜行的狼 on July 22, 2019

0. 写在最前面

本文持续更新地址:https://haoqchen.site/2019/07/22/pcl-openni2/

如果觉得写得还不错,可以找我其他文章来看看哦~~~可以的话帮我github点个赞呗。

你的Star是作者坚持下去的最大动力哦~~~

1. 问题描述

使用PCL编译某个ROS工程时出现这个waring:

1
2
3
4
** WARNING ** io features related to openni2 will be disabled
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** visualization features related to openni2 will be disabled

2. 解决办法

找到对应log文件后发现是OpenNI没有

1
Could NOT find OpenNI2 (missing:  OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS)

所以就安装OpenNI就好:

1
sudo apt-get install openni2-utils

参考


喜欢我的文章的话Star一下呗Star

版权声明:本文为白夜行的狼原创文章,未经允许不得以任何形式转载