Can't import CLContext

Started by Veraenderer, November 19, 2015, 13:13:55

Previous topic - Next topic

Veraenderer

Hi,
I'm somehow unable to import CLContext (org.lwjgl.opengl.CLContext). Everything else seems to work. Have you any idea how I can fix it or which information do you need to to say me how I can fix it?

Kai

You surely meant org.lwjgl.opencl.CLContext.
This class exists in LWJGL 2.x.
It does not exist in LWJGL 3.
So, I am assuming you are talking about LWJGL 3.
You can have a look at the demo classes in LWJGL 3's sources to see how OpenCL can be used in LWJGL 3: https://github.com/LWJGL/lwjgl3/tree/master/modules/core/src/test/java/org/lwjgl/demo/opencl

Veraenderer

Ok, I was not aware that the tutorial I used was LWJGL 2 and not 3 ^^