We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to build OpenCV version 2.4.6.1 with OpenCL support on a Samsung Chromebook. I followed the instructions in Graphics and Compute Development on Samsung Chromebook « Mali Developer Center in order to get a development environment set up. I also downloaded the Mali OpenCL SDK version 1.1 from Mali OpenCL SDK « Mali Developer Center.
When I try to build OpenCV with OpenCL support (pointing the OpenCV build to the Mali OpenCL SDK for the OpenCL files), the build gets 79% of the way through and then stops with an internal compiler error:
/extra/OpenCV/opencv-2.4.6.1/modules/ocl/src/imgproc.cpp: In function 'void cv::ocl::copyMakeBorder(const cv::ocl::oclMat&. cv::ocl::oclMat&, int, int, int, int, int, const Scalar&)':
/extra/OpenCV/opencv-2.4.6.1/modules/ocl/src/imgproc.cpp:748:9: internal compiler error: output_operand: invalid expression as operand
I have successfully built OpenCV version 2.4.6.1 with OpenCL support on other platforms using the same version of gcc (4.6.3).
Has anyone else run into this issue?
Thank you - using the 13.11 Linaro hard-float toolchain to cross-compile from an Intel-based 32-bit Ubuntu system allowed me to build OpenCV.
Thanks,
Ethan