LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: smokethepot on June 04, 2018, 18:38:19

Title: Error in Anisotropic filtering
Post by: smokethepot on June 04, 2018, 18:38:19
I'm trying to implement Anisotropic filtering in my program and for checking if the system supports it, I'm using the following command to return a Boolean:
GL.getCapabilities().GL_EXT_texture_filter_anisotropic
and Eclipse shows an error saying : "The type org.lwjgl.opengl.GLCapabilities cannot be resolved. It is indirectly referenced from required .class files".

I searched for the answer and got a lot of hits too but couldn't get a clue on how to fix it.

IDE : Eclipse Oxygen 3.0
LWJGL version : 3.1.6
Title: Re: Error in Anisotropic filtering
Post by: spasi on June 04, 2018, 19:03:37
Are you using Java 9 + modules? Eclipse has many known bugs related to modules and you'll have a hard time working with LWJGL.
Title: Re: Error in Anisotropic filtering
Post by: smokethepot on June 05, 2018, 13:35:06
I don't exactly know about modules. I'm just using Java 9 and LWJGL 3.1.6 in my Eclipse project. I'm not using any other program that I'm aware of.

If Eclipse has known issues, what do you suggest? Switching IDEs?
Title: Re: Error in Anisotropic filtering
Post by: spasi on June 05, 2018, 14:37:40
Quote from: smokethepot on June 05, 2018, 13:35:06If Eclipse has known issues, what do you suggest? Switching IDEs?

No, you can find a couple of suggested workarounds here (https://github.com/LWJGL/lwjgl3/issues/385).