lwjgl3: Submodules can no longer find Native Bindings

Environment

  • 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.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 27 (13 by maintainers)

Most upvoted comments

There will not be another 3.2.4 build, so yeah I guess. The next official release after 3.2.3 will be 3.3.0 because of important changes that may break applications on 3.2.x.