question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Submodules can no longer find Native Bindings

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
Spasicommented, Aug 30, 2021

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.

0reactions
Speigercommented, Aug 30, 2021

@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)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pylance: wont find stubs for native library with submodules
I'm having issues with Visual Studio Code python language server, which cannot find the stubs for a python binding library I am developing ......
Read more >
Is there a way to skip some submodules? · Issue #4247 - GitHub
Unfortunately we don't currently have a way of saying "exclude this submodule", but I could imagine interpreting the exclude key for this!
Read more >
Git - Submodules - Git SCM
Removing the directory isn't difficult, but it can be a bit confusing to have that in there. If you do remove it and...
Read more >
terraform-google-modules/iam/google
In authoritative mode, a submodule takes full control over the IAM bindings listed in the module. This means that any members added to...
Read more >
Documentation - Module Resolution - TypeScript
Module resolution is the process the compiler uses to figure out what an import refers to. Consider an import statement like import {...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found