当前位置:网站首页>openCV入门----VS怎么安装openCV库
openCV入门----VS怎么安装openCV库
2022-07-15 16:56:00 【Smile Hun】
首先感谢@浅墨_毛星云大佬的前置教程
原文地址OpenCV 3.0、OpenCV 2.4.8、OpenCV 2.4.9 +VS 开发环境配置
大佬写的教程比较早,然后我入门迟了些,安装过程就有一些细微的变动,这篇文章给像我一样(编程入门)的萌新参考。
下载opencv
直接到这个链接下载就行 opencv4.5.1下载地址 下载好了以后是一个可执行文件,打开后选择你想安装的位置,直接解压。
环境变量的配置
- 右击此电脑,选择“属性”
- 点击高级系统设置

- 点击环境变量

4.在环境变量中找到“path”双击

5.点击浏览,找到刚才安装的目录,将bin文件夹添加进来

- 安装好之后打开VS,新建一个项目,点击项目,属性

- 然后点击VC++目录->包含目录->点击那个新行(红框右上角那个),找到下面两个目录(安装目录)加进来

- 然后同样的方法,找到库目录,把下面这个文件夹加进来(一定要是你的安装目录)

9.然后点击链接器->输入->附加依赖项

- 在这个文件夹下面,有两个库,添加进来

- 到这里基本配置就完成了,但是在调试时可能依旧出现无法解析外部符号这样的错误 这时要去看调试的配置,注意一下框起来的地方,平台改为x64就可以了

边栏推荐
- Rhcsa note 2
- C语言 第六章 函数
- Type-c边充边传数据应用OTG功能(LDR6028S)
- Markdown learning notes Chapter 2 basic grammar (displayed under the markdown editor)
- Linked list implementation of C language stack
- DEBUG系统
- MySQL index
- Notes on custom types such as structs, enumerations, unions, etc
- RuntimeWarning: overflow encountered in long_scalars h = 12.0 / (totaln * (totaln + 1)) * ssbn - 3
- Chapter 7 preprocessing of C language
猜你喜欢

Enumeration, do you know it?

Serialization and deserialization of flip word /maxqueue/ quadratic tree

Type-C application OTG function while charging and transferring data (ldr6028s)
![[problems of dft/fft - solutions to fence effect]](/img/e2/7bd81b9bee18768757660f9c1c0d35.png)
[problems of dft/fft - solutions to fence effect]

COMS技术

(一)MATLAB基础知识

9. MySQL -- JDBC入门

Thumbnailator 图片处理类库

Pd-qc-afc multi protocol decoy chip "ldr6328s"

7. MySQL -- basic syntax (III) DCL
随机推荐
C语言 第七章 预处理
sensor 原理文章
Typora changes text color and line breaks
Implementation of sequence table in C language stack
typec显示器解决方案大全LDR6290单C口桌面式显示器解决方案
TP5--查询字段包含搜索条件的某一个--FIND_IN_SET
初学者怎么快速学会SQL
联想电源管理下载
TP5查询空的2种情况
urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>
FFmpeg sample 分析:muxing.c
MySQL index
OTA 升级中的跟文件系统切换
直播神器领夹式无线麦克风-LDR6028助力充电OTG方案
C语言 栈的链表实现
DEBUG系统
免驱 USB 转串口 Billboard 芯片(LDR2001)
Exploration of yolact model structure
[problems of dft/fft - solutions to fence effect]
compileflow 淘寶工作流引擎