Error in Anisotropic filtering

Started by smokethepot, June 04, 2018, 18:38:19

Previous topic - Next topic

smokethepot

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

spasi

Are you using Java 9 + modules? Eclipse has many known bugs related to modules and you'll have a hard time working with LWJGL.

smokethepot

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?

spasi

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.