#LWJGL with Eclipse

1 messages · Page 1 of 1 (latest)

gilded ruin
#

I've installed the latest Eclipse, OpenJDK 25, and LWJGL3 as instructed on LWJGL3's wiki. However I still can't import any of the files, compiler error The package org.lwjgl.opengl is not accessible

lime gardenBOT
#

<@&987246527741304832> please have a look, thanks.

winged pewter
#

share the full error

gilded ruin
# winged pewter share the full error

When I hover over the import it says The package org.lwjgl is not accessible
Here's the error when running the project:

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
    The package org.lwjgl.opengl is not accessible
    The package org.lwjgl is not accessible
    The package org.lwjgl is not accessible
    The package org.lwjgl.opengl is not accessible
    The package org.lwjgl is not accessible
    The package org.lwjgl is not accessible
    The package org.lwjgl is not accessible
    The type org.lwjgl.opengl.GL11 is not accessible
    The package org.lwjgl is not accessible
    The package org.lwjgl is not accessible
    Version cannot be resolved
lime gardenBOT
gilded ruin
#

Full error is larger with all the function names

winged pewter
#

that eclipse added

#

thats the easiest way to explain

gilded ruin
#

Didn't resolve it

#

Should I create a new project without module-info?

winged pewter
#

turn everything off and on again

#

then share the error

gilded ruin
winged pewter
#

oh

#

well it sees org.lwjgl.opengl

#

so maybe you just need even more libraries

#

it seems like you are manually downloading jars - this is the downside of that

gilded ruin
#

I'll try importing other ones, I thought only the opengl ones are needed

#

That was it, thank you