LWJGL missing EGL .dll
I hope someone here can help me with this. I just tried to add EGL to my game (for shared contexts), and it can't find the egl .dll file. Build.gradle:
If I try adding gradle can't find it? Please help, been struggling with this for an hour.
26 Replies
⌛
This post has been reserved for your question.
Hey @The Typhothanian! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
show errors
both the runtime error when it cant find it and the gradle error
Sorry
then lemme get the gradle one...
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
anyone pls?
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
is the file there?
I meant check if its in your local repository. It's probably not considering the error, but if it is delete it and reload your project*
It isn't, and I checked where it's looking, and it doesn't exist.
The same syntax works for the other things, but not egl
I mean for the file and the website
egl 3.2.3 worked for me on gradle. On maven the higher version works fine.
I suppose you can try any of the versions above 3.2.3 and below 3.3.3 see which is the latest one that works for gradle
actually 3.3.2 worked so I guess go with that one
oh dang
lemme check that
actually 3.3.3 also works after specifying the version?
implementation("org.lwjgl", "lwjgl-egl","3.3.3")
no idea what gradle is doing
Well the base egl stuff works, the natives don't
GitHub
Failed to locate library: libEGL.dll · Issue #914 · LWJGL/lwjgl3
Version 3.3.2 Platform Windows x64 JDK JustJ OpenJDK 17.0.7 Module EGL Bug description When I downlaod custom package, it don't have egl native jars. When I run the code, the native library is ...
it turns out "it's not a bug, it's a feature"
you are just gonna have to find natives-windows.jar and put it in your classpath
https://www.lwjgl.org/customize
you can use this as pointed out by the installation guide (https://github.com/LWJGL/lwjgl3-wiki/wiki/1.2.-Install)
Just uncheck everything, then choose EGL and on the left side there is "natives". Choose whichever platform you want (in your case windows) and download it.
GitHub
1.2. Install
The LWJGL 3 Wiki. Contribute to LWJGL/lwjgl3-wiki development by creating an account on GitHub.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
Tyvm
I tried that. Downloaded build.gradle.kts with egl, including natives, and it wasn't there. Even downloaded the zip and it wasn't there. Tried 3.3.3 and 3.3.2.
k posted on github https://github.com/LWJGL/lwjgl3/issues/1022
GitHub
How to get EGL natives? · Issue #1022 · LWJGL/lwjgl3
Question Pretty self-explanatory. I can't seem to find the natives for EGL. The customize download site doesn't include the egl natives. Can't find them with the same syntax as other st...
hope they can help
well it's in the zip bundle. It would be great if you can get it working with gradle assuming it's actually in the repositories and not done on purpose.
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
Really? My zips don't have egl natives, just lwjgl natives
you are right. My bad. It's interesting, because egl.dll isn't even listed here:
https://www.lwjgl.org/browse/stable/windows/x64
You might have to build it yourself or something.. I guess wait a response on the github issue
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.
bro it keeps saying that
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.