Hello Guest

OpenCL problem, missing files? [Solved]

  • 2 Replies
  • 3497 Views
OpenCL problem, missing files? [Solved]
« on: September 29, 2016, 18:36:09 »
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
« Last Edit: September 29, 2016, 20:37:27 by petarts »

*

Offline spasi

  • *****
  • 2256
    • WebHotelier
Re: OpenCL problem, missing files?
« Reply #1 on: September 29, 2016, 20:05:30 »
The wrapper classes in LWJGL 2 have been removed in LWJGL 3. See these demos for code that works on LWJGL 3.

Re: OpenCL problem, missing files?
« Reply #2 on: September 29, 2016, 20:15:11 »
Thanks