OCC 6.7.1 Compile Error

Hi,

I am trying to compile OCC on a Debian Wheezy system. I have all the required and optional package installed and found. At compile time I keep getting this error:

OpenGl_Workspace_Raytrace.cxx:106:58: error: 'clCreateImage2D' was not declared in this scope

I saw another thread that suggested this compiler option, although this failed to fix the error.

OpenGl_Workspace_Raytrace.cxx:106:58: error: 'clCreateImage2D' was not declared in this scope

I also say a post about this being fixed on June 18 2014. Is it still too soon for that to have made it way downstream?

Best regards,

SR

Attachments: 
syberraith's picture

The fix on June 18 was for 2013 and for another another file apparently. Here's a link.

https://github.com/SimonRit/RTK/issues/2

syberraith's picture

And this was the suggested compiler option:

-DCL_USE_DEPRECATED_OPENCL_1_1_APIS

Pardon me for the omission and misquote. It was a long day yesterday...