Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Compiling OpenCV2.8 with OpenCL1.1

$
0
0
I tried compiling OpenCV2.8 with opencl 1.1 with headers from https://github.com/KhronosGroup/OpenCL-CLHPP I had to change `#ifdef CL_VERSION_1_2` to `#ifdef CL_VERSION_1_1` in `opencv/cmake/checks/opencl.cpp` also http://docs.opencv.org/2.4.13/modules/ocl/doc/introduction.html suggests that it should work with OpenCL 1.1 But I still get errors like `cl_runtime_opencl.hpp:294:61: error: 'cl_device_partition_property' does not name a type` when building. Do I have to go back to an older version to get OpenCL1.1 working? or have I missed something? I am on OpenCV tag `2.4.13.1`

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>