首页 > 其他 > 详细

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)

时间:2020-05-07 09:52:41      阅读:370      评论:0      收藏:0      [点我收藏+]

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)

在安装PCL时会有这样的错误:

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)

1.下载pcap包,地址:http://www.tcpdump.org/#latest-release

$ tar -zxvf libpcap-1.9.0.tar.gz

$ cd libpcap-1.9.0

$ ./configure

$ make -j8

$ sudo make install

2.如果在./configure时出现:

configure: error: Neither flex nor lex was found.

解决办法:

$ sudo apt-get install flex bison

Done!

Could NOT find PCAP (missing: PCAP_LIBRARIES PCAP_INCLUDE_DIRS)

原文:https://www.cnblogs.com/nanmi/p/12840793.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!