New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opencv3.10 does not support cuda8.0rc? #6677
Comments
I have the same problem, I installed opencv3-1 without Cuda for now since I don't really need it. But, it would be preferable if I could use GPU accelerated algorithms for video reading and writing. Waiting for a solution. |
CUDA 8.0 support was fixed in master branch : #6510 |
Worked like a charm, thank you :) |
Thank you for your help. |
For those people who find this page looking for a way to fix this in their build but can't deal with the volatility of MASTER, here's the code I used in my build script
This script snippet will build a single patch file for that one change, then apply that patch using all git commands. It is opencv 3.1.0 + this bugfix and nothing else. |
@daveselinger could we cherry-pick this commit into the 3.1.0 branch or create a 3.1.1 branch? It seems like many users would benefit from having this automatically added to the 3.1.0 branch or checking out a 3.1.1 branch to avoid confusion + Googling for this solution. |
@mdaiter Hey dude, I've never done that before, and didn't realize this bug was getting all this attention. I'll submit a PR later today. |
@mdaiter It doesn't look like OpenCV does point releases from 3.1, so I don't expect them to make a release entirely based on this patch. Instead, I forked and will keep this up as best I can. Instead of cloning from the base master, use this instead:
Then continue on your way. Happy OpenCV'ing. |
To correct that, it is |
@daveselinger I tried to clone opencv from https://github.com/daveselinger/opencv, but there are error messages while I was using cmake as follows...... -- Configuring incomplete, errors occurred! Is there something to fix or install? Thanks. |
@vincenttsai2015 It looks like you do not have the library hdf5-dev installed. Should be pretty easily corrected:
LMK if it works. |
@daveselinger |
@santhoshkelathodi Still there. I'd shoot for googling your error. E.g.: http://stackoverflow.com/questions/38378914/git-error-rpc-failed-curl-56-gnutls |
@daveselinger Thank you very much... I directly accessed the branch https://github.com/daveselinger/opencv/tree/3.1.0-with-cuda8 and I was able to install openCV without any error. Now I am facing issue with running the c++ sample code. OpenCV Error: Gpu API call (CUDA driver version is insufficient for CUDA runtime version) in allocate, file /home/sk47/opencv_home/opencv/modules/core/src/cuda/gpu_mat.cu, line 71 |
@santhoshkelathodi Once again, my friend Google is your friend. :) |
https://devtalk.nvidia.com/default/topic/962474/ubuntu-16-04-cuda-8-cuda-driver-version-is-insufficient-for-cuda-runtime-version/ probably has the right answer. You've either likely installed to low a version of nvidia driver (<367) or installed the CUDA driver incorrectly... |
Thank you @daveselinger for putting it across very nicely about google. I have seen those links and tried to install that way. But inherently they are explaining how to install cuda when GPU is available. It does not address the problem I am facing I don't have a GPU. :( |
@santhoshkelathodi Sorry to be the bearer of bad news, then because CUDA is a GPU acceleration platform ONLY for Nvidia GPU's. https://en.wikipedia.org/wiki/CUDA |
@daveselinger I cloned the version you posted above:
However I get the error: -- ICV: Downloading ippicv_linux_20151201.tgz...
Any suggestions on this? |
Check network/proxy settings and try again. |
@alalek It finally went through. |
@daveselinger thanks much dude 💯 |
The simplest thing you can do to solve that CUDA 8.0 support problem:
|
OpenCV version: 3.10
Host OS: Ubuntu 16.04 amd64
In which part of the OpenCV library you got the issue?
I have installed CUDA 8.0RC,Error when build opencv3.10,But opencv2.4.13 is normal.
I have noticed that the release time of opencv3.10 is 2015-12-21,Cuda8.0rc release time is about 2016.05,opencv2.4.13 release time is 2016-05-19,I would like to confirm, opencv3.10 does not support cuda8.0rc?
Compile error :
The text was updated successfully, but these errors were encountered: