简体   繁体   English

opencv错误:不支持GPU

[英]opencv error: no GPU support

I have install Cuda 6.5 and opencv 2.4.9 with visual studio 2010, when I run gpu, I get error 我在Visual Studio 2010中安装了Cuda 6.5和opencv 2.4.9,当我运行gpu时出现错误

Opencv Error: No GPU support(the library is compiled without PGU support) in the row_nogpu, file C:/builds/2_4_Packslave-win32-vc10-shared/opencv/modules/gpu/src/precomp.hpp line 135 Opencv错误:row_nogpu文件C:/builds/2_4_Packslave-win32-vc10-shared/opencv/modules/gpu/src/precomp.hpp行中没有GPU支持(该库在没有PGU支持的情况下进行了编译)

I get this error, is any one can help what do I have to do? 我收到此错误,请问有人可以帮助我做什么?

Thanks 谢谢

I believe, you have to actually build the libraries with CUDA support. 我相信,您实际上必须使用CUDA支持来构建库。 I Imagine This Guide will be useful. 可以想象, 本指南将非常有用。

This can be caused because of following. 这可能是由于以下原因引起的。

  1. Use the flag WITH_CUDA=ON during cmake cmake期间使用标志WITH_CUDA=ON
  2. You are trying to load the libraries which are compiled without GPU support, after you install opencv make sure you change the libraries path to that of GPU supported once. 您正在尝试加载在不支持GPU的情况下编译的库,在安装opencv之后,请确保将库路径更改为一次支持的GPU。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM