Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdx-backend-lwjgl3 references natives that cannot be found or do not exist, causes build to fail #6878

Closed
1 of 6 tasks
WasabiThumb opened this issue May 22, 2022 · 15 comments
Closed
1 of 6 tasks

Comments

@WasabiThumb
Copy link

WasabiThumb commented May 22, 2022

Issue details

In a new project created with the provided tool and imported with IntelliJ IDEA, with a project SDK of 18 and running on Linux, trying to run or build the project fails as gradle cannot locate "natives-linux-arm64" for lwjgl-glfw, lwjgl-openal, lwjgl-opengl, lwjgl-stb and lwjgl.

Version of libGDX and/or relevant dependencies

        gdxVersion = '1.11.0'
        roboVMVersion = '2.3.16'
        box2DLightsVersion = '1.5'
        ashleyVersion = '1.7.4'
        aiVersion = '1.8.2'
        gdxControllersVersion = '2.2.1'

Stacktrace

Without fix:

com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not find lwjgl-glfw-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl-glfw:3.3.1).
Searched in the following locations:
    file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-linux-arm64.jar
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.java:388)
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:137)
	at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
	<truncated>

See full paste here

With "fix":
Runs fine, however:

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)

Please select the affected platforms

  • Android
  • iOS
  • HTML/GWT
  • Windows
  • Linux
  • macOS

The "fix":
This is not at all ideal, and essentially just excludes lwjgl, lwjgl-glfw etc. from gdx-backend-lwjgl3 and replaces it with all the same stuff except excluding the natives that cause trouble. I've commented out the windows and mac natives, because for some reason they cannot be found on my Linux machine similarly to the Linux ARM64 natives that originally caused this problem (which are also commented out). This is a problem because it will produce a binary that's not actually cross-platform, however it at least runs and I can continue development. The list of natives is based on the pom.xml file for gdx-backend-lwjgl3.

project(":desktop") {
    apply plugin: "java-library"


    dependencies {
        implementation project(":core")
        api("com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion") {
            // this is required because gdx-backend-lwjgl3 tries to link in non-existent ARM64 natives
            exclude group: 'org.lwjgl', module: 'lwjgl-glfw'
            exclude group: 'org.lwjgl', module: 'lwjgl-openal'
            exclude group: 'org.lwjgl', module: 'lwjgl-opengl'
            exclude group: 'org.lwjgl', module: 'lwjgl-stb'
            exclude group: 'org.lwjgl', module: 'lwjgl'
        }
        api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
        api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"

        // re-add the dependencies manually, no natives
        api "org.lwjgl:lwjgl-glfw:3.3.1"
        api "org.lwjgl:lwjgl-openal:3.3.1"
        api "org.lwjgl:lwjgl-opengl:3.3.1"
        api "org.lwjgl:lwjgl-stb:3.3.1"
        api "org.lwjgl:lwjgl:3.3.1"

        // selectively re-add the natives
        // Linux //
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-linux"
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-linux-arm32"
        // api "org.lwjgl:lwjgl-glfw:3.3.1:natives-linux-arm64"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-linux"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-linux-arm32"
        // api "org.lwjgl:lwjgl-openal:3.3.1:natives-linux-arm64"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-linux"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-linux-arm32"
        // api "org.lwjgl:lwjgl-opengl:3.3.1:natives-linux-arm64"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-linux"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-linux-arm32"
        // api "org.lwjgl:lwjgl-stb:3.3.1:natives-linux-arm64"
        api "org.lwjgl:lwjgl:3.3.1:natives-linux"
        api "org.lwjgl:lwjgl:3.3.1:natives-linux-arm32"
        // api "org.lwjgl:lwjgl:3.3.1:natives-linux-arm64"

        // MacOS //
        /*
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-macos"
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-macos-arm64"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-macos"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-macos-arm64"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-macos"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-macos-arm64"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-macos"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-macos-arm64"
        api "org.lwjgl:lwjgl:3.3.1:natives-macos"
        api "org.lwjgl:lwjgl:3.3.1:natives-macos-arm64"
         */

        // Windows //
        /*
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-windows"
        api "org.lwjgl:lwjgl-glfw:3.3.1:natives-windows-x86"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-windows"
        api "org.lwjgl:lwjgl-openal:3.3.1:natives-windows-x86"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-windows"
        api "org.lwjgl:lwjgl-opengl:3.3.1:natives-windows-x86"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-windows"
        api "org.lwjgl:lwjgl-stb:3.3.1:natives-windows-x86"
        api "org.lwjgl:lwjgl:3.3.1:natives-windows"
        api "org.lwjgl:lwjgl:3.3.1:natives-windows-x86"
         */
    }
}

Compare to this version given by the project creation tool, which "causes" the error described:

    dependencies {
        implementation project(":core")
        api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
        api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
        api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
    }
@Tom-Ski
Copy link
Member

Tom-Ski commented May 22, 2022

https://repo1.maven.org/maven2/org/lwjgl/lwjgl-glfw/3.3.1/
this dependency does exist, your log is showing that its only looking in maven local and then failing to find it.
Can you show your repositories configuration?

@tommyettinger
Copy link
Member

This happens to me a lot; I usually just remove mavenLocal() from my Gradle repositories and it works as soon as I sync again. Gradle is not the most reliable software...

@WasabiThumb
Copy link
Author

WasabiThumb commented May 22, 2022

https://repo1.maven.org/maven2/org/lwjgl/lwjgl-glfw/3.3.1/ this dependency does exist, your log is showing that its only looking in maven local and then failing to find it. Can you show your repositories configuration?

I did realize that and thought it was strange, but dismissed it since I haven't touched my repositories :^|

    repositories {
        mavenLocal()
        mavenCentral()
        google()
        gradlePluginPortal()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
        maven { url "https://oss.sonatype.org/content/repositories/releases/" }
        maven { url "https://jitpack.io" }
    }

Also yes, I am aware that lwjgl-glfw is acessible through maven central (that's where I'm getting it from in the "fix" after all), however the version of lwjgl-glfw on maven central (or wherever my local repo got it from, I guess) does not contain the classifier "natives-linux-arm64", "natives-macos", etc. It does however contain "natives-linux" and "natives-linux-arm32" which is all I need for running it on my system.

I call it a "classifier" because that's how it's defined in the pom for gdx-backend-lwjgl3 but I really have no idea what it does other than that it's equivalent to groupName:artifactName:version:classifier in gradle.

<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux</classifier>
  <scope>compile</scope>
</dependency>
<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux-arm32</classifier>
  <scope>compile</scope>
</dependency>
<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux-arm64</classifier>
  <scope>compile</scope>
</dependency>

@WasabiThumb
Copy link
Author

This happens to me a lot; I usually just remove mavenLocal() from my Gradle repositories and it works as soon as I sync again. Gradle is not the most reliable software...

This worked! How strange that Gradle doesn't even bother to look elsewhere if it cant find your dependency in the local repository, but only sometimes. I still don't really consider this a fix but someone else can close the issue if they feel like this is a gradle-related hangup and not a problem with gdx-backend-lwjgl3.

@Tom-Ski
Copy link
Member

Tom-Ski commented May 22, 2022

These dependencies are added using classifier notation, you are just seeing the "expanded" version that shows you it raw.

This is probably not Gradle, but Gradle plugin for IDEA that is not resolving this properly. Running from command line, gradle is probably quite happy.

@WasabiThumb
Copy link
Author

The only thing that is being changed here is the build.gradle, it's clearly an issue with Gradle as it's Gradle's sole responsibility to resolve those dependencies afaik

@Tom-Ski
Copy link
Member

Tom-Ski commented May 24, 2022

No its not, IDEA plugin is integrating Gradle into the IDE tooling system. Its in the stacktrace you posted.
at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.java:388)
This is the gradle integration plugin from jetbrains trying to import, and falling short.

Run your project from command line outside of IDEA, if it truly is a Gradle problem, you will get the same failure, but with a different stacktrace because obviously IDEA plugins do not exist there. A simple ./gradlew desktop:run from terminal/shell will determine where that problem actually is.

@WasabiThumb
Copy link
Author

WasabiThumb commented May 25, 2022

if it truly is a Gradle problem, you will get the same failure, but with a different stacktrace because obviously IDEA plugins do not exist there.

> Task :desktop:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':desktop:compileJava'.
> Could not resolve all files for configuration ':desktop:compileClasspath'.
   > Could not find lwjgl-glfw-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl-glfw:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-linux-arm64.jar
   > Could not find lwjgl-glfw-3.3.1-natives-macos.jar (org.lwjgl:lwjgl-glfw:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-macos.jar
   > Could not find lwjgl-glfw-3.3.1-natives-macos-arm64.jar (org.lwjgl:lwjgl-glfw:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-macos-arm64.jar
   > Could not find lwjgl-glfw-3.3.1-natives-windows.jar (org.lwjgl:lwjgl-glfw:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-windows.jar
   > Could not find lwjgl-glfw-3.3.1-natives-windows-x86.jar (org.lwjgl:lwjgl-glfw:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1-natives-windows-x86.jar
   > Could not find lwjgl-openal-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl-openal:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-linux-arm64.jar
   > Could not find lwjgl-openal-3.3.1-natives-macos.jar (org.lwjgl:lwjgl-openal:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-macos.jar
   > Could not find lwjgl-openal-3.3.1-natives-macos-arm64.jar (org.lwjgl:lwjgl-openal:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-macos-arm64.jar
   > Could not find lwjgl-openal-3.3.1-natives-windows.jar (org.lwjgl:lwjgl-openal:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-windows.jar
   > Could not find lwjgl-openal-3.3.1-natives-windows-x86.jar (org.lwjgl:lwjgl-openal:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1-natives-windows-x86.jar
   > Could not find lwjgl-opengl-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl-opengl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-linux-arm64.jar
   > Could not find lwjgl-opengl-3.3.1-natives-macos.jar (org.lwjgl:lwjgl-opengl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-macos.jar
   > Could not find lwjgl-opengl-3.3.1-natives-macos-arm64.jar (org.lwjgl:lwjgl-opengl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-macos-arm64.jar
   > Could not find lwjgl-opengl-3.3.1-natives-windows.jar (org.lwjgl:lwjgl-opengl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-windows.jar
   > Could not find lwjgl-opengl-3.3.1-natives-windows-x86.jar (org.lwjgl:lwjgl-opengl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1-natives-windows-x86.jar
   > Could not find lwjgl-stb-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl-stb:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-linux-arm64.jar
   > Could not find lwjgl-stb-3.3.1-natives-macos.jar (org.lwjgl:lwjgl-stb:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-macos.jar
   > Could not find lwjgl-stb-3.3.1-natives-macos-arm64.jar (org.lwjgl:lwjgl-stb:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-macos-arm64.jar
   > Could not find lwjgl-stb-3.3.1-natives-windows.jar (org.lwjgl:lwjgl-stb:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-windows.jar
   > Could not find lwjgl-stb-3.3.1-natives-windows-x86.jar (org.lwjgl:lwjgl-stb:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1-natives-windows-x86.jar
   > Could not find lwjgl-3.3.1-natives-linux-arm64.jar (org.lwjgl:lwjgl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-linux-arm64.jar
   > Could not find lwjgl-3.3.1-natives-macos.jar (org.lwjgl:lwjgl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-macos.jar
   > Could not find lwjgl-3.3.1-natives-macos-arm64.jar (org.lwjgl:lwjgl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-macos-arm64.jar
   > Could not find lwjgl-3.3.1-natives-windows.jar (org.lwjgl:lwjgl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-windows.jar
   > Could not find lwjgl-3.3.1-natives-windows-x86.jar (org.lwjgl:lwjgl:3.3.1).
     Searched in the following locations:
         file:/home/wasabi/.m2/repository/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1-natives-windows-x86.jar

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 2s
3 actionable tasks: 1 executed, 2 up-to-date

The IDEA plugin is clearly just wrapping gradle functionality and passing along the exceptions, e.g. throw new ExternalSystemException(gradleException) just like I thought.

Again, this only happens when mavenLocal() is included (for some reason). It can either be "fixed" using my hack above or by just omitting mavenLocal(). Presumably, and this is just speculation, Gradle is sucessfully finding natives for the current system (linux makes sense here, linux-arm32 is clearly an exception to this theory) in mavenLocal() and then attempting to find the rest of the natives ONLY in mavenLocal(), since they are all in the same package but different classifiers.

This issue has mostly resolved itself: if you dont need mavenLocal() then omit it. If you need mavenLocal(), use the hack above or maybe try installing the natives to your local maven repo if you can find them. However, it's just strange that this is a problem to begin with

@WasabiThumb
Copy link
Author

Here it is with the --stacktrace option, for your viewing pleasure.
./gradlew desktop:run --stacktrace &> log.txt
log.txt

@Tom-Ski
Copy link
Member

Tom-Ski commented May 25, 2022

Good to isolate it to Gradle.

Are you running on arm32? did you manually build lwjgl natives on your system? Do you have any lwjgl maven artifacts in your maven local repo, if so what are they? Because that should be the only reason mavenLocal would be populated with only those natives. Your idea makes sense as a possible cause, depending on your contents of maven local. If that is the case, where you have the arm32 modules, but none of the other, then that is 100% the reason for this, and this is part of the Gradle specification to behave as it is.

Worth noting that that this is not a new issue, been happening in Gradle for 9+years, changing the order of the repositories should also 'fix' it. I have seen many threads address this, and the other repos have also been known to cause this exact failure, jcenter and google in combination with plugins.

For us, we should just remove it, since only people that gain anything from it are people building from source, in which case they can add it. But its still an interesting problem to see where exactly this is being.

@WasabiThumb
Copy link
Author

WasabiThumb commented May 25, 2022

Q: Are you running on arm32?
A: amd64 is the right term I believe

Q: Did you manually build lwjgl natives on your system?
A: Never built lwjgl natives manually, never installed any lwjgl natives to maven local

Q: Do you have any lwjgl maven artifacts in your maven local repo?
A: I'm guessing so, because it's managing to find linux and linux-arm32 natives just fine. Here's a directory listing for ~/.m2/repository/org/lwjgl/lwjgl/3.3.1.

_remote.repositories                      lwjgl-3.3.1-natives-linux.jar       lwjgl-3.3.1.jar.sha1
lwjgl-3.3.1-natives-linux-arm32.jar       lwjgl-3.3.1-natives-linux.jar.sha1  lwjgl-3.3.1.pom
lwjgl-3.3.1-natives-linux-arm32.jar.sha1  lwjgl-3.3.1.jar                     lwjgl-3.3.1.pom.sha1

I also did some digging around and found ~/.m2/repository/org/lwjgl/lwjgl/lwjgl-platform/2.9.3 which has a couple of the missing natives. Note, not all of them, namely linux-arm64. Really puzzling.

_remote.repositories                         lwjgl-platform-2.9.3-natives-windows.jar
lwjgl-platform-2.9.3-natives-linux.jar       lwjgl-platform-2.9.3-natives-windows.jar.sha1
lwjgl-platform-2.9.3-natives-linux.jar.sha1  lwjgl-platform-2.9.3.pom
lwjgl-platform-2.9.3-natives-osx.jar         lwjgl-platform-2.9.3.pom.sha1
lwjgl-platform-2.9.3-natives-osx.jar.sha1

changing the order of the repositories should also 'fix' it

Moving mavenLocal() to the end of the list does actually 'fix' it. God I love Gradle.

@Tom-Ski
Copy link
Member

Tom-Ski commented May 25, 2022

Yeah, so thats it. MavenLocal is searched first, finds a result so chooses that repository for that module. All other repositories are ignored for trying to find artifacts of that module, and then it fails because the other artifacts are not in mavenLocal (as you've shown).

This part apparently isn't a bug, this behaviour is as described in their docs. So if we can accept that, then the real bug, is how come there is a partial result of artifacts in mavenLocal. :S

btw the 2.9.3 version is valid. They only had 3 artifacts then. https://repo1.maven.org/maven2/org/lwjgl/lwjgl/lwjgl-platform/2.9.3/

@Tom-Ski
Copy link
Member

Tom-Ski commented May 25, 2022

Oh, @WasabiThumb have you used pure maven with this same version? Like a project managed by maven bringing in deps of 3.3.1?

If you did, and had

<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux</classifier>
  <scope>compile</scope>
</dependency>
<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux-arm32</classifier>
  <scope>compile</scope>
</dependency>
<dependency>
  <groupId>org.lwjgl</groupId>
  <artifactId>lwjgl</artifactId>
  <version>3.3.1</version>
  <classifier>natives-linux-arm64</classifier>
  <scope>compile</scope>
</dependency>

only, then it all makes sense.

@Samyssmile
Copy link

For me to remove

mavenLocal()

fixed the issue

@crykn
Copy link
Member

crykn commented Dec 27, 2023

Since this isn't a bug within libGDX, but rather a (usage) problem with Gradle, I'm closing this for now.

@crykn crykn closed this as completed Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants