Hello Guest

Error in Anisotropic filtering

  • 3 Replies
  • 103 Views
Error in Anisotropic filtering
« 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:
Code: [Select]
GL.getCapabilities().GL_EXT_texture_filter_anisotropicand 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

*

Offline spasi

  • *****
  • 2006
    • WebHotelier
Re: Error in Anisotropic filtering
« Reply #1 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.

Re: Error in Anisotropic filtering
« Reply #2 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?

*

Offline spasi

  • *****
  • 2006
    • WebHotelier
Re: Error in Anisotropic filtering
« Reply #3 on: June 05, 2018, 14:37:40 »
If Eclipse has known issues, what do you suggest? Switching IDEs?

No, you can find a couple of suggested workarounds here.