安装 opencv 时,“pkg-config"未被识别为内部或外部命令 [英] 'pkg-config' is not recognized as an internal or external command when installing opencv

查看:122
本文介绍了安装 opencv 时,“pkg-config"未被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,当我尝试在我的计算机上安装 OpenCV 时遇到此错误.

So I'm getting this error when attempting to install OpenCV on my computer.

'pkg-config' is not recognized as an internal or external command                                                                                  

我一直在四处寻找这个 pkg-config 包,但似乎在任何地方都找不到合适的下载源.

I've been searching around for this pkg-config package and I can't seem to find a proper download source anywhere.

我找到的唯一一个是 pkg-config-lite.我很累,想看看那个是否可行,但没有运气.

The only one I did find was pkg-config-lite. I tired to see if that one would work but no luck.

推荐答案

原始 pkg-config 版本可在此处获得:http://www.freedesktop.org/wiki/Software/pkg-config

The original pkg-config release is available here: http://www.freedesktop.org/wiki/Software/pkg-config

这篇关于安装 opencv 时,“pkg-config"未被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆