当前位置:网站首页>VS 2019安装及配置opencv
VS 2019安装及配置opencv
2022-07-03 03:06:00 【AphilGuo】
VS 2019下载链接:https://visualstudio.microsoft.com/zh-hans/downloads/
1、 打开下载的软件,点击继续
2、 进行安装下载
3、 选择配置
4、 安装成功,重启电脑
配置Opencv
1、 下载opencv-4.5.0
2、 点击下载的.exe文件,并将其指定在文件夹

3、 配置环境变量,进入opencv\build\x64\vc15\bin,复制路径;在桌面右击此电脑,选择属性,高级配置,环境变量,选择Path,然后点击新建,最后逐步确定
在这里插入图片描述
配置VS 2019 版Opencv
1、 打开VS 2019,新建新项目,空项目,并在配置项目中,选择项目路径以及勾选“将解决方案和项目放在同一目录中”,最后点击创建。
2、 选择视图,其他窗口,属性管理器
3、 选择Debug |x64,选择属性,进入Debug属性页
4、 选择VC++目录,包含目录,配置路径:
C:\Configurement\opencv\build\include; C:\Configurement\opencv\build\include\opencv2
最后点击确定
5、 配置lib文件,点击库目录
选择路径:C:\Configurement\opencv\build\x64\vc15\lib
6、 选择链接器,输入,附加依赖项,并输入opencv_world450d.lib
7、 配置完成后,重启电脑,编写示例代码,选择Debug x64
8、 最终输出
边栏推荐
- I2C 子系统(一):I2C spec
- I2C 子系统(二):I3C spec
- JS finds all the parent nodes or child nodes under a node according to the tree structure
- Notifydatasetchanged not applicable to recyclerview - notifydatasetchanged not working on recyclerview
- Three. JS local environment setup
- Agile certification (professional scrum Master) simulation exercise-2
- I2C 子系统(三):I2C Driver
- Today, it's time to copy the bottom!
- Introduction to cron expression
- Kubernetes family container housekeeper pod online Q & A?
猜你喜欢

HTB-Devel

MySql实战45讲【全局锁和表锁】

迅雷chrome扩展插件造成服务器返回的数据js解析页面数据异常

Nasvit: neural architecture search of efficient visual converter with gradient conflict perception hypernetwork training

【PyG】理解MessagePassing过程,GCN demo详解

I2C subsystem (I): I2C spec

TCP 三次握手和四次挥手机制,TCP为什么要三次握手和四次挥手,TCP 连接建立失败处理机制

Today, it's time to copy the bottom!

Left connection, inner connection

The process of connecting MySQL with docker
随机推荐
PHP constructor with parameters - PHP constructor with a parameter
The difference between componentscan and componentscans
MySQL practice 45 [SQL query and update execution process]
Le processus de connexion mysql avec docker
左连接,内连接
Basic information of Promethus (I)
当lambda没有输入时,是何含义?
力扣------网格中的最小路径代价
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
I2C subsystem (III): I2C driver
What is the way out for children from poor families?
Force freeing memory in PHP
Kubernetes cluster log and efk architecture log scheme
Pytest (6) -fixture (Firmware)
复选框的使用:全选,全不选,选一部分
Three.js本地环境搭建
Andwhere multiple or query ORM conditions in yii2
vfork执行时出现Segmentation fault
I2C 子系統(四):I2C debug
Kubernetes cluster log and efk architecture log scheme