Search code examples
eclipseopengllwjgl

Using LWJGL version 2.8.4, added lwjgl_util to project cant find import?


I have been racking my brain all morning with this. I am using Eclipse and trying to import this 'org.lwjgl.opengl.glu.Sphere;' to my class. but Eclipse can't find this class. I have been informed in my research that this class resides in lwjgl_util.jar which I have included in the java build path for this project in eclipse. everything else imports except the .glu classes. what am I missing?


Solution

  • First , to setup Eclipse with LWJGL go to LWJGL Wiki page and there you can find nice and detailed tutorial.For the OpenGL modern pipeline tutorials.One nice guy ported examples from "OpenGL SuperBible 5" to LWJGL.Here you will find them.The tutorials use OpenGL 3.3 which means all the old (fixed) functionality ,that you have probably seen in tutorials of NEHE ,is ignored.Hope it helps.