在Visual Studio当中安装opencv
可能会使用到的网站:
windows10中powershell的choco命令的使用:
https://www.cnblogs.com/godlove/p/11205242.html
About Execution Policies:
https://docs.microsoft.com/zh-cn/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7
Git 2.26.2:
https://chocolatey.org/packages/git#install
window10 visual studio 2019 使用 vcpkg 安装 opencv 教程 (window10 visual studio 2019 use vcpkg install opencv):
https://www.cnblogs.com/ttweixiao-IT-program/p/12419876.html
Visual Studio开源库集成器Vcpkg全教程–利用Vcpkg轻松集成开源第三方库:
https://blog.csdn.net/cjmqas/article/details/79282847
安装全过程:
1、使用powershell的管理员模式安装choco
2、在choco当中为当前用户的执行策略进行修改(Y[yes])
3、powershell当中安装git
4、在cmd当中安装vcpkg,安装过程当中可以将cmd命令框当中的下载地址复制到迅雷当中下载,速度会相对较快,(ps.移动的网络真的不行,100M还不如手机热点。)在安装过程中如果没有英语语言包会提示出错,需要在visual studio中单独安装语言包
5、使用vcpkg安装opencv,引用网页当中是安装x64,那么编写程序的时候就要选择x64
安装语言包:
步骤一:
步骤二:
步骤三: