问题描述
我一直在尝试在visual studio 9 2008上安装OpenCv 2.4.2并启用cuda。
I have been trying to install OpenCv 2.4.2 with cuda enabled on visual studio 9 2008.
这些是以下规格:
OpenCv版本:2.4.2
操作系统:Windows 7 64位\\ b $ b Cmake版本:2.8.9
显卡:NVIDIA GeForce GTX 550 Ti
Cuda版本:4.2
OpenCv version: 2.4.2
OS: Windows 7 64 bit
Cmake version: 2.8.9
Graphics card: NVIDIA GeForce GTX 550 Ti
Cuda version: 4.2
我从并已正确遵循所有说明。
I downloaded the opencv from OpenCV and have followed all the instructions correctly.
这是CMake配置的结果:
This is the result of the CMake configuration:
其他第三方库使用IPP:NO
使用TBB:NO
使用
Cuda:YES )使用Eigen:NO
Other third-party libraries Use IPP: NO
Use TBB: NO
Use Cuda: YES (ver 4.2)
Use Eigen: NO
NVIDIA CUDA:(ver 4.2)
使用CUFFT:YES
使用CUBLAS:NO
raft NVIDIA GPU arch:11 12 13 20 21 30 NVIDIA PTX archs:11
12 13 20 21 30_HTML NVIDIA GPU功能:11 12 13 20 20 30 20
Python:
译员:NO⑶
文件:
建立文件:NO
Sphinx: NOÚPdfLaTeX compiler:NO royalty测试和样品:
测试:
YES
性能测试:YES
例子:NO⑶
安装路径:C:/ opencv / Builds / install advertisers cvconfig.h位于:C:/ opencv /Builds└
-------------- -------------------------------------------------- -
¥b $ b配置已完成的副本
NVIDIA CUDA: (ver 4.2)
Use CUFFT: YES
Use CUBLAS: NO
NVIDIA GPU arch: 11 12 13 20 21 30
NVIDIA PTX archs: 11 12 13 20 21 30
NVIDIA GPU features: 11 12 13 20 20 30 20
Python:
Interpreter: NO
Documentation:
Build Documentation: NO
Sphinx: NO
PdfLaTeX compiler: NO
Tests and samples:
Tests: YES
Performance tests: YES
Examples: NO
Install path: C:/opencv/Builds/install
cvconfig.h is in: C:/opencv/Builds
-----------------------------------------------------------------
Configuring done
Generating done
现在如果我构建解决方案构建失败,它给我一个错误。以下是很多错误:
Now if i Build the solution the build fails and it gives me an error. These are a few errors from a lot of them:
请帮我解决这个问题。
推荐答案
我不知道是什么问题。我尝试安装在不同的计算机,它的工作方式像一个魅力。所以我重新安装操作系统,它工作!
I did not know what the problem was. I tried installing the same in a different computer and it worked like a charm. So i re installed the OS and it worked!!
这篇关于安装OpenCv 2.4.2与Cuda在Visual studio 9 2008:构建中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!