In file included from ../src/cl_checks.cc:1:0:
../src/cl_checks.h: In function ‘bool webcl::validateMemFlags(int)’:
../src/cl_checks.h:19:46: error: ‘CL_MEM_HOST_NO_ACCESS’ was not declared in this scope
return (value>=CL_MEM_READ_WRITE && value<=CL_MEM_HOST_NO_ACCESS && value!=(1<<6));
^
../src/cl_checks.cc: In function ‘int webcl::getChannelCount(int)’:
../src/cl_checks.cc:147:10: error: ‘CL_DEPTH’ was not declared in this scope
case CL_DEPTH:
^
../src/cl_checks.cc:148:10: error: ‘CL_DEPTH_STENCIL’ was not declared in this scope
case CL_DEPTH_STENCIL:
^
make: *** [Release/obj.target/webcl/src/cl_checks.o] Error 1
It looks like some #ifdefs are missing: