This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

building OpenCV with OpenCL support on Samsung Chromebook

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?

Parents
  • Hi eshayne,

    No-one here has run into this specific problem with OpenCV, but I've run into dozens of "internal compiler error" in the past, and they have usually been resolved by using a more recent toolchain. Can you try a newer toolchain? Potentially cross-compiling with the latest linaro hard-float toolchain?

    Hope this helps,

    Chris

Reply
  • Hi eshayne,

    No-one here has run into this specific problem with OpenCV, but I've run into dozens of "internal compiler error" in the past, and they have usually been resolved by using a more recent toolchain. Can you try a newer toolchain? Potentially cross-compiling with the latest linaro hard-float toolchain?

    Hope this helps,

    Chris

Children