Home Database Mysql Tutorial vs2010安装opencv2.4.9

vs2010安装opencv2.4.9

Jun 07, 2016 pm 03:25 PM
opencv vs2010 Install

到opencv官网下载软件(开源),安装路径为E:\OpenCv\opencv 目录文件包括build和sources。 启动vs2010配置opencv环境。 新建一个32win控制台应用程序项目,因为VS自动生成了一个源文件跟预编译的头文件,可以将其删了在源文件目录里新建一个c++文件,此时右

到opencv官网下载软件(开源),安装路径为E:\OpenCv\opencv
目录文件包括build和sources。
启动vs2010配置opencv环境。
新建一个32win控制台应用程序项目,因为VS自动生成了一个源文件跟预编译的头文件,可以将其删了在源文件目录里新建一个c++文件,此时右击选择属性,再选择c/c++内容下的预编译头,更改其为不使用。
接下来对新建项目配置编译环境。
vs2010安装opencv2.4.9
接下来配置连接器
vs2010安装opencv2.4.9

编写简单源代码:
vs2010安装opencv2.4.9

pp.png为我们所要展示的图片,将其放在test.cpp的同级目录里。
编译时产生问题:
vs2010安装opencv2.4.9

因为已经添加了环境变量了,所以果断将该文件所在的vc10\bin拷贝到system32内。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Solution to the problem that Win11 system cannot install Chinese language pack Solution to the problem that Win11 system cannot install Chinese language pack Mar 09, 2024 am 09:48 AM

Solution to the problem that Win11 system cannot install Chinese language pack

Unable to install guest additions in VirtualBox Unable to install guest additions in VirtualBox Mar 10, 2024 am 09:34 AM

Unable to install guest additions in VirtualBox

What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? Mar 13, 2024 pm 10:22 PM

What should I do if Baidu Netdisk is downloaded successfully but cannot be installed?

How to install Android apps on Linux? How to install Android apps on Linux? Mar 19, 2024 am 11:15 AM

How to install Android apps on Linux?

How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 Mar 22, 2024 pm 04:40 PM

How to Install and Run the Ubuntu Notes App on Ubuntu 24.04

How to install Podman on Ubuntu 24.04 How to install Podman on Ubuntu 24.04 Mar 22, 2024 am 11:26 AM

How to install Podman on Ubuntu 24.04

How to install solidworks2018-solidworks2018 installation tutorial How to install solidworks2018-solidworks2018 installation tutorial Mar 04, 2024 pm 09:00 PM

How to install solidworks2018-solidworks2018 installation tutorial

Complete guide to install FTPS service on Linux system Complete guide to install FTPS service on Linux system Mar 19, 2024 am 11:39 AM

Complete guide to install FTPS service on Linux system

See all articles