nikcho-kouhai
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
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
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
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.
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
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.
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
you are just gonna have to find natives-windows.jar and put it in your classpath
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
it turns out "it's not a bug, it's a feature"
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
actually 3.3.3 also works after specifying the version?
implementation("org.lwjgl", "lwjgl-egl","3.3.3")
no idea what gradle is doing
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
actually 3.3.2 worked so I guess go with that one
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
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
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
egl 3.2.3 worked for me on gradle. On maven the higher version works fine.
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
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*
38 replies
JCHJava Community | Help. Code. Learn.
•Created by The Typhothanian on 11/18/2024 in #java-help
LWJGL missing EGL .dll
is the file there?
38 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
just learn a bit more about this before doing multi-threaded stuff
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
it's also important to keep in mind that depending on your code the thread on
await()
might block indefinitely if the main thread shuts down before processing the message55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
I suggest before jumping into multi-threaded code to have a look at synchronization blocks, locks and atomic variables
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
you can find out more about the CountDownLatch here:
https://docs.oracle.com/javase/6/docs/api/java/util/concurrent/CountDownLatch.html
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
the thread will block on
await()
until another calls countDown()
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
the simplest is with a CountDownLatch
55 replies
JCHJava Community | Help. Code. Learn.
•Created by blockgoblin31 on 10/31/2024 in #java-help
How would I have a thread wait on a lambda?
you can do this multiple ways
55 replies