OpenCV 3.1 VS 2010 Configuration 配置

Download OpenCV 3.1

Download VS2010

Download CMake 3.2.0

I assume you‘ve already installed VS2010 and CMake 3.2.0 correctly.

Compile the OpenCV:

Start CMake 3.2.0, fill the source and destination:

source: C:/opencv3.1/sources

destination: C:/opencv3.1/VS2010

Click Configure and use Visual Studio 10 2010 to complie.

When first configure is done, select Grouped and Advanced.

CMAKE_INSTALL_PREFIX    [C:/opencv3.1/VS2010_install]

Check WITH_QT, WITH_OPENGL, WITH_OPENNI2 or any other you think necessary.

click Configure again.

After configure is done (No errors show), click Generate.

Go back to your build folder, open OpenCV.sln, right click ALL_BUILD, choose Rebuild.

Wait a long time for make process, have a cup of coffee :)

After rebuild is done, right click INSTALL, choose Build.

Now, the configuration is done, enjoy it :)

Add in the system Path:

C:\opencv3.1\VS2010_install\x86\vc10\bin

Create a new empty project,

Project->Project Property->Configuration Properties->VC++Directories ->Include Directories:

C:\opencv3.1\VS2010_install\include
C:\opencv3.1\VS2010_install\include\opencv
C:\opencv3.1\VS2010_install\include\opencv2

Project->Project Property->Configuration Properties->VC++Directories ->Library Directories:

C:\opencv3.1\VS2010_install\x86\vc10\lib

Project->Project Property->Configuration Properties->Linker->Input: (Release Mode)

opencv_calib3d310.lib
opencv_core310.lib
opencv_features2d310.lib
opencv_flann310.lib
opencv_highgui310.lib
opencv_imgcodecs310.lib
opencv_imgproc310.lib
opencv_ml310.lib
opencv_objdetect310.lib
opencv_photo310.lib
opencv_shape310.lib
opencv_stitching310.lib
opencv_superres310.lib
opencv_ts310.lib
opencv_video310.lib
opencv_videoio310.lib
opencv_videostab310.lib
opencv_viz310.lib

时间: 2024-10-10 15:20:12

OpenCV 3.1 VS 2010 Configuration 配置的相关文章

OpenCV2.4.9 & Visual Studio 2010 环境配置篇

1. 准备工作 1.1. 安装 Visual Studio 2010, 需要安装 VC++ 相关功能.具体可求助度娘. 1.2. 下载 OpenCV 2.4.9 For Windows:https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.9/opencv-2.4.9.exe/download 1.3. 双击下载的程序开始安装 OpenCV,如下图设置解压目录: 解压完成后目录 D:\Program Files\o

Exchange 2010 HAB配置分层地址簿配置方法

目 录 1 Exchange 2010 HAB介绍... 3 2 Exchange 2010 HAB配置步骤... 3 2.1 第一步 创建HAB使用的OU.. 4 2.2 第二步 为 HAB 创建根通讯组 Contoso,Ltd. 4 2.3 第三步 将 Contoso,Ltd 指定为 HAB 的根组织... 7 2.4 第四部 创建HAB中其他层的通讯组... 7 2.5 第五步 配置通讯组的IsHierarchicalGroup属性... 8 2.6 第六步 为每个HAB下属组添加为根组织

ubuntu 安装 OpenCv 及其Qt的开发环境配置

ubuntu安装opencv (1)安装编译opencv的环境 sudo apt-get -y install build-essential cmake pkg-config (2)安装Image I/O库 sudo apt-get -y install libjpeg62-dev sudo apt-get -y install libtiff4-dev libjasper-dev (3)安装GTK库 sudo apt-get -y install libgtk2.0-dev (4)安装Vid

VTK 6.3.0 Qt 5.4 MinGW 4.9.1 Configuration 配置

Download VTK 6.3.0 Download Qt 5.4 with MinGW 4.9.1 Download CMake 3.2.0 I assume you've already installed Qt 5.4 with MinGW 4.9.1 and CMake 3.2.0 correctly. Pre-process the VTK: Open CMakeLists.txt in your extracted VTK-6.3.0 folder, find set(VTK_US

OpenCv的Java,C++开发环境配置

1.OpenCV 下载及安装配置 opencv的下载地址:http://opencv.org/downloads.html 最新版本:opencv3.0.0 注意:支持的visual studio2013 我们可以下载稳定版本:opencv2.4.11 安装:双击opencv-2.4.11解压到某一目录下即可 配置:在系统环境变量Path中,添加相应的路径. 32位添加:C:\opencv\opencv2.4.11\build\x86\vc10\bin 64位添加:C:\opencv\openc

Spring之@Configuration配置解析

1.简单的示例: 1 @Configuration 2 @EnableConfigurationProperties({DemoProperties.class}) 3 public class DemoConfiguration { 4 5 @Bean 6 public Book getBook(){ 7 return new Book(); 8 } 9 } Configuration 1 @Autowired Book book; 2 3 @Test 4 public void testBo

解读ASP.NET 5 & MVC6系列(5):Configuration配置信息管理

解读ASP.NET 5 & MVC6系列(5):Configuration配置信息管理 2015-05-18 07:44 by 汤姆大叔, 7103 阅读, 18 评论, 收藏, 编辑 在前面的章节中,我们知道新版的MVC程序抛弃了原来的web.config文件机制,取而代替的是config.json,今天我们就来深入研究一下配置文件的相关内容. 基本用法 新版的配置信息机制在Microsoft.Framework.ConfigurationModel命名空间下进行了重写,重写以后不仅支持XML

Configuration配置信息管理

Configuration配置信息管理 在前面的章节中,我们知道新版的MVC程序抛弃了原来的web.config文件机制,取而代替的是config.json,今天我们就来深入研究一下配置文件的相关内容. 基本用法 新版的配置信息机制在Microsoft.Framework.ConfigurationModel命名空间下进行了重写,重写以后不仅支持XML格式,还支持json.ini.环境变量等.在模板示例程序中Startup类的构造函数内如,有如下语句: // Setup configuratio

Spring源码解析 – @Configuration配置类及注解Bean的解析

在分析Spring 容器创建过程时,我们知道容器默认会加载一些后置处理器PostPRocessor,以AnnotationConfigApplicationContext为例,在构造函数中初始化reader时,加载默认后置处理器.其中 ConfigurationClassPostProcessor这个后置处理器专门处理带有@Configuration注解的类,ConfigurationClassPostProcessor后置处理实现了BeanDefinitionRegistryPostProce