当前位置:网站首页>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、 最终输出
边栏推荐
- What does it mean when lambda is not entered?
- Introduction to cron expression
- Spark on yarn resource optimization ideas notes
- A2L file parsing based on CAN bus (2)
- Check log4j problems using stain analysis
- Docker install MySQL
- Process the dataset and use labelencoder to convert all IDs to start from 0
- Super easy to use logzero
- The process of connecting MySQL with docker
- docker安装mysql
猜你喜欢

Didi programmers are despised by relatives: an annual salary of 800000 is not as good as two teachers

Can netstat still play like this?

The idea cannot be loaded, and the market solution can be applied (pro test)

SqlServer行转列PIVOT

MySql实战45讲【索引】

Check log4j problems using stain analysis

分布式事务

C语言初阶-指针详解-庖丁解牛篇

内存泄漏工具VLD安装及使用

【PyG】理解MessagePassing过程,GCN demo详解
随机推荐
45 lectures on MySQL [index]
As a leader, how to control the code version and demand development when the epidemic comes| Community essay solicitation
The difference between componentscan and componentscans
MySql实战45讲【行锁】
一文带你了解 ZigBee
[principles of multithreading and high concurrency: 1_cpu multi-level cache model]
Anhui University | small target tracking: large-scale data sets and baselines
后管中编辑与预览获取表单的值写法
Andwhere multiple or query ORM conditions in yii2
js根据树结构查找某个节点的下面的所有父节点或者子节点
The difference between left value and right value in C language
用docker 连接mysql的过程
Practice of traffic recording and playback in vivo
用docker 連接mysql的過程
How to select the minimum and maximum values of columns in the data table- How to select min and max values of a column in a datatable?
Yiwen takes you to know ZigBee
模糊查詢時報錯Parameter index out of range (1 > number of parameters, which is 0)
Tensorflow to pytorch notes; tf. gather_ Nd (x, y) to pytorch
Your family must be very poor if you fight like this!
模糊查询时报错Parameter index out of range (1 > number of parameters, which is 0)