2015-12-24 07:13:25 -0600 | commented question | haveOpenCL return false Thanks to 'LBerger". I don't know why his comment is not showing. My problem was OpenCV try open "libOpenCL.so" and I have "libOpenCL.so.1". Then I create a link to the "libOpenCL.so.1" called "libOpenCL.so" using "ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so". Now it works. |
2015-12-24 06:13:06 -0600 | received badge | ● Student (source) |
2015-12-24 05:47:27 -0600 | asked a question | haveOpenCL return false Hi. I am trying to use openCV 3.0 with OpenCL and it's not working. The "haveOpenCL" function aways return false. I am using Ubuntu 14.04. The /etc/OpenCL/vendor have "amdocl32.icd amdocl64".icd with "libamdocl32.so" and "libamdocl64.so". In the opencv cmake file, the OpenCV appears as: Even whem I use the function "setUseOpenCL(true)", it's not setted because the function needs "if( haveOpenCL() )" to run. I test a OpenCL Hello World from this link (https://www.fixstars.com/en/opencl/bo...) and I get the hello world message on the terminal. Is possible to run OpenCV with OpenCL in my computer? |