OpenCV 3.1 VS 2010 Cuda 7.5 TBB Configuration 配置

简介:

Download OpenCV 3.1

Download OpenCV Extra Modules

Download VS2010

Download CMake 3.2.0

Download Cuda 7.5

Download GPU Computing SDK 4.0

Download Intel TBB

I assume you've already installed all above 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 Win64 to complie.

Note: If you want to use Cuda, you must use x64 complier

When first configure is done, select Grouped and Advanced.

CMAKE_INSTALL_PREFIX        [C:/opencv3.1/VS2010_install]  
OPENCV_EXTRA_MODULES_PATH    [C:/opencv3.1/opencv_contrib/modules]  
 
 

Check WITH_CUDA, WITH_CUBLAS, WITH_TBB 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

If build with extra module, add the following items:

opencv_aruco310.lib
opencv_bgsegm310.lib
opencv_bioinspired310.lib
opencv_calib3d310.lib
opencv_ccalib310.lib
opencv_core310.lib
opencv_datasets310.lib
opencv_dpm310.lib
opencv_face310.lib
opencv_features2d310.lib
opencv_flann310.lib
opencv_fuzzy310.lib
opencv_highgui310.lib
opencv_imgcodecs310.lib
opencv_imgproc310.lib
opencv_line_descriptor310.lib
opencv_ml310.lib
opencv_objdetect310.lib
opencv_photo310.lib
opencv_plot310.lib
opencv_reg310.lib
opencv_rgbd310.lib
opencv_saliency310.lib
opencv_shape310.lib
opencv_stereo310.lib
opencv_stitching310.lib
opencv_structured_light310.lib
opencv_superres310.lib
opencv_surface_matching310.lib
opencv_text310.lib
opencv_tracking310.lib
opencv_ts310.lib
opencv_video310.lib
opencv_videoio310.lib
opencv_videostab310.lib
opencv_xfeatures2d310.lib
opencv_ximgproc310.lib
opencv_xobjdetect310.lib

本文转自博客园Grandyang的博客,原文链接:TBB Configuration 配置OpenCV 3.1 VS 2010 Cuda 7.5 ,如需转载请自行联系原博主。

相关文章
|
2月前
|
并行计算 PyTorch TensorFlow
Ubuntu安装笔记(一):安装显卡驱动、cuda/cudnn、Anaconda、Pytorch、Tensorflow、Opencv、Visdom、FFMPEG、卸载一些不必要的预装软件
这篇文章是关于如何在Ubuntu操作系统上安装显卡驱动、CUDA、CUDNN、Anaconda、PyTorch、TensorFlow、OpenCV、FFMPEG以及卸载不必要的预装软件的详细指南。
5118 3
|
3月前
|
并行计算 JavaScript 算法
opencv4.5.1+contrib+cuda编译成功,实时人头匹配,手动狗头
这篇文章介绍了如何在Windows 10上使用Visual Studio 2017成功编译OpenCV 4.5.1及其contrib模块和CUDA支持,并解决了编译过程中的问题,如项目文件无效、cmake工具问题,并添加了Qt和JavaScript支持,同时提供了参考链接。
opencv4.5.1+contrib+cuda编译成功,实时人头匹配,手动狗头
|
3月前
|
JavaScript 计算机视觉 C++
win10+vs2017+opencv4.5.1+contrib+cuda编译成功,实时人头匹配,手动狗头
这篇文章介绍了如何在Windows 10系统上使用Visual Studio 2017和OpenCV 4.5.1(含contrib模块和CUDA支持)成功编译OpenCV,并解决了编译过程中遇到的问题,如项目文件无效、cmake工具问题、添加Qt和JavaScript支持,并提供了参考链接和cmake配置文件。
win10+vs2017+opencv4.5.1+contrib+cuda编译成功,实时人头匹配,手动狗头
|
6月前
|
机器学习/深度学习 并行计算 计算机视觉
【入坑指南】| OpenCV4.8 + CUDA + 扩展模块支持编译
【入坑指南】| OpenCV4.8 + CUDA + 扩展模块支持编译
550 0
|
并行计算 C++ 异构计算
【CUDA学习笔记】第八篇:源码编译OpenCV+CUDA模块(完整源码打包一次成功编译)(二)
【CUDA学习笔记】第八篇:源码编译OpenCV+CUDA模块(完整源码打包一次成功编译)(二)
200 0
|
并行计算 计算机视觉
【CUDA学习笔记】第八篇:源码编译OpenCV+CUDA模块(完整源码打包一次成功编译)(一)
【CUDA学习笔记】第八篇:源码编译OpenCV+CUDA模块(完整源码打包一次成功编译)(一)
364 0
|
并行计算 算法 计算机视觉
优化加速的导向滤波(Guided Filter)【CUDA】【OpenCV】
优化加速的导向滤波(Guided Filter)【CUDA】【OpenCV】
604 0
优化加速的导向滤波(Guided Filter)【CUDA】【OpenCV】
|
并行计算 算法 计算机视觉
一种基于视神经网络的高动态范围(HDR)图像自适应局部色调映射的实现【OpenCV】【CUDA】
一种基于视神经网络的高动态范围(HDR)图像自适应局部色调映射的实现【OpenCV】【CUDA】
498 0
一种基于视神经网络的高动态范围(HDR)图像自适应局部色调映射的实现【OpenCV】【CUDA】
|
并行计算 算法 计算机视觉
OpenCV 的 Non Local Means(CUDA 版) 源码解析
OpenCV 的 Non Local Means(CUDA 版) 源码解析
248 0
OpenCV 的 Non Local Means(CUDA 版) 源码解析
|
并行计算 TensorFlow 算法框架/工具
编译安装汇总:nVidia驱动/CUDA/cuDNN/TensorRT/OpenCV/gstreamer/DeepStream/jpeglib等
编译安装汇总:nVidia驱动/CUDA/cuDNN/TensorRT/OpenCV/gstreamer/DeepStream/jpeglib等
202 0