Hi,

I have a problem when trying to use OpenCV with OpenCL support in a cpp 
application. When i print the openCV build information I can see that it 
has OpenCL with dynamic linking. However, when I run a simple application 
using openCL it seems that OpenCV does not recognize OpenCL:

#include <opencv2/core/ocl.hpp>
> [...]
> cv::ocl::haveOpenCL();
> *FALSE*
>

I tried solving the problem by creating symbolic links to the libTIOpenCL* 
.so files, using default OpenCV naming convention (libOpenCV*).
This resulted in OpenCV recognizing the OpenCL but still I'm unable to 
force the OpenCL usage:

#include <opencv2/core/ocl.hpp>
> [...]
> cv::ocl::haveOpenCL();
> *TRUE*

cv::ocl::setUseOpenCL(true);
> cv::ocl::useOpenCL();
> *FALSE* 
>

What am I missing here? Does the current system provide OpenCL support for 
OpenCV?

Kr,
Szymon  
 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dc4ec0fb-1ac0-4326-bf94-692cf7fc94df%40googlegroups.com.

Reply via email to