OpenCL problem, missing files? [Solved]

Started by petarts, September 29, 2016, 18:36:09

Previous topic - Next topic

petarts

hello, i started reading a tutorial on how to use openCL in LWJGL, but i found a problem when one of the classes that is used in the tutorial is missing, when i type "import org.lwjgl.opencl.CLPlatform" eclipse tells me "The import org.lwjgl.opencl.CLPlatform cannot be resolved" so here i am asking, does this not exist in the newer verions of LWJGL and thus is the tutorial outdated, or am i missing something like having to download some extra file

the class "org.lwjgl.opencl.CL" exists
this is the tutorial i'm reading:
http://wiki.lwjgl.org/wiki/OpenCL_in_LWJGL
if anyone could tell me if i have done something wrong or if i need to do something differently it would be greatly appreciated

spasi

The wrapper classes in LWJGL 2 have been removed in LWJGL 3. See these demos for code that works on LWJGL 3.