kotlin-graphics / glm

jvm glm
122 stars 20 forks source link

Android build error #43

Closed renzhenfei closed 2 months ago

renzhenfei commented 2 months ago

Execution failed for task ':app:mergeDebugJavaResource'.

A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction 2 files found with path 'META-INF/linux/x64/org/lwjgl/liblwjgl.so.sha1' from inputs:

so I add exclude("META-INF/linux/x64/org/lwjgl/liblwjgl.so.sha1") in build.gradle. but when i run, can't load liblwjgl.so

elect86 commented 2 months ago

Hi,

this is, unfortunately, not yet ready for Android, it requires some decoupling from Lwjgl

If you'd like to do a PR, I can send you an invite

Bixilon commented 2 months ago

So, the version published on maven central is completely decoupled from lwjgl (as long as you don't require buffer using). Try:

dependencies {
    implementation("io.github.kotlin-graphics:glm:0.9.9.1-12")
}