当前位置:网站首页>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、 最终输出
边栏推荐
- Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
- Source code analysis | resource loading resources
- Docker install MySQL
- Spark on yarn resource optimization ideas notes
- C language beginner level - pointer explanation - paoding jieniu chapter
- 左连接,内连接
- Add some hard dishes to the interview: how to improve throughput and timeliness in delayed task scenarios!
- How to use asp Net MVC identity 2 change password authentication- How To Change Password Validation in ASP. Net MVC Identity 2?
- Yiwen takes you to know ZigBee
- Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 2)
猜你喜欢
用docker 连接mysql的过程
TCP handshake three times and wave four times. Why does TCP need handshake three times and wave four times? TCP connection establishes a failure processing mechanism
Check log4j problems using stain analysis
Deep reinforcement learning for intelligent transportation systems: a survey paper reading notes
从C到Capable-----利用指针作为函数参数求字符串是否为回文字符
Xiaodi notes
Kubernetes family container housekeeper pod online Q & A?
Deep Reinforcement Learning for Intelligent Transportation Systems: A Survey 论文阅读笔记
一文带你了解 ZigBee
Kubernetes family container housekeeper pod online Q & A?
随机推荐
[combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
你真的懂继电器吗?
The idea cannot be loaded, and the market solution can be applied (pro test)
C # general interface call
Force deduction ----- the minimum path cost in the grid
MySql实战45讲【全局锁和表锁】
左值右指解释的比较好的
Can netstat still play like this?
敏捷认证(Professional Scrum Master)模拟练习题
MySql实战45讲【SQL查询和更新执行流程】
用docker 连接mysql的过程
超好用的日志库 logzero
Check log4j problems using stain analysis
文件重命名
内存泄漏工具VLD安装及使用
Didi programmers are despised by relatives: an annual salary of 800000 is not as good as two teachers
MySql实战45讲【行锁】
Yiwen takes you to know ZigBee
JMeter performance test JDBC request (query database to obtain database data) use "suggestions collection"
Reset or clear NET MemoryStream - Reset or Clear . NET MemoryStream