AnsweredAssumed Answered

opencv ocl module get CL_BUILD_PROGRAM_FAILURE

Question asked by Steven Chiu on Mar 21, 2014
Latest reply on Apr 13, 2014 by Steven Chiu

hi all,

I would like to run opencv ocl test sample on imx6 qbresd board but always encountered CL_BUILD_PROGRAM_FAILURE as follow

 

BUILD LOG: convertC3C4: -D GENTYPE4=uchar4

error : syntax error in compiler option string " -D GENTYPE4=uchar4"

 

unknown file: Failure

C++ exception with description "/home/root/opencv/opencv/modules/ocl/src/cl_programcache.cpp:445: error: (-217) CL_BUILD_PROGRAM_FAILURE in function getOrBuildProgram

" thrown in the test body.

[ FAILED ] OCL_ImgProc/CvtColor.BGR2BGRA/0, where GetParam() = (CV_8U, false) (16 ms)

[ RUN ] OCL_ImgProc/CvtColor.BGR2BGRA/1

 

Do I have to update any library from FSL?

 

thank you

Outcomes