Submodules can no longer find Native Bindings
See original GitHub issueEnvironment
- LWJGL version: 3.3.0
- LWJGL build #: Shapshot-9?
- Java version: 1.8
- IDE: Eclipse Neon (Using Gradle)
- Platform: Windows
- Modules: Core/GL/AL/STB/Jemalloc
Description
I very recently split my engine apart from game + engine in 1 project to have 2 projects. And link the engine via a “GitModule”. Turns out Version 3.3.0 does not like that and can not find Natives anymore. The game starts up normal, but triggers breakpoints that LWJGL 3 couldn’t find its natives and i have to manually let it skip these breakpoints to finish loading the setup.
The code that triggers this is:
GLFWErrorCallback.createPrint(System.err).set();
Which is exactly like this: https://github.com/LWJGL/lwjgl3-demos/blob/main/src/org/lwjgl/demo/opengl/instancing/GrassDemo.java#L94
After testing around i found out that it is only 3.3.0 that has these issues the moment i switch back to 3.2.4 everything works without issues. Also trying only the submodule or the main project with 3.3.0 causes the same behavior.
Not sure what causes this though.
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (13 by maintainers)
There will not be another
3.2.4
build, so yeah I guess. The next official release after3.2.3
will be3.3.0
because of important changes that may break applications on3.2.x
.@httpdigest long term goal anyways. But right now 99% of my project force me to use Java8, but that should change soon. But thanks for the help and showing me that i am right now fine with 3.2.4 until i am ready to upgrade. I can live with that.
I assume @Spasi 3.2.4 is unofficially stable? so no surprises there i hope.
Thanks for the time anyways. And for the Heart attack httpdigest xD (your location and projects did that xD)