user4584333
user4584333

Reputation:

OpenCV: Failed to load OpenCL runtime

I am running a program in which I got the error on the title of my question. I have found an answer here that suggests to download OpenCV from github, then compile with ENABLE_OPENCL=OFF (using CMake) and use the built libs against the application.

Or may be is there a way to set this flag in the program itself without modifying anything in OpenCV ?

I wonder if it is possible to do that without having to remove and install again OpenCV-3.0 ?

Upvotes: 1

Views: 751

Answers (1)

user4584333
user4584333

Reputation:

I resolved the problem by running:

sudo apt-get install ocl-icd-opencl-dev

Upvotes: 1

Related Questions