For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

OCC 6.7.1 Compile Error

syber raith's picture

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: 
syber raith'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

syber raith'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...