LWJGL/lwjgl3

How do I compile lwjgl3, to get the .jar contents for BSD?

Gamer100Dev opened this issue · 1 comments

Question

Hello,

I'm looking to play Minecraft, and I would have needed to use this library for this game to launch, it worked before on BSD 13.2, though on BSD 14.0 there would be a cmake error, though this was a installer on a different repository. I figured out that maybe I have to compile from here, it built successfully, though I found out that there was no .jar files ( regarding the game library) that I can use to make Minecraft run on it. Any ideas ?

Current errors:

java.lang.ExceptionInInitializerError at net.minecraft.class_315.<init>(class_315.java:892) at net.minecraft.class_310.<init>(class_310.java:489) at net.minecraft.client.main.Main.main(Main.java:223) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104) at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:176) at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:186) at org.polymc.EntryPoint.listen(EntryPoint.java:144) at org.polymc.EntryPoint.main(EntryPoint.java:74) Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Failed to locate library: libglfw.so at net.minecraft.class_3675.<clinit>(class_3675.java:45) ... 15 more Caused by: java.lang.UnsatisfiedLinkError: Failed to locate library: libglfw.so at org.lwjgl.system.Library.loadNative(Library.java:346) at org.lwjgl.system.Library.loadNative(Library.java:236) at org.lwjgl.glfw.GLFW.<clinit>(GLFW.java:30) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method) at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155) at java.base/java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:377) at java.base/java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:374) at java.base/java.lang.ClassValue.getFromHashMap(ClassValue.java:228) at java.base/java.lang.ClassValue.getFromBackup(ClassValue.java:210) at java.base/java.lang.ClassValue.get(ClassValue.java:116) at java.base/java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:400) at java.base/java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:388) at java.base/java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:422) at net.minecraft.class_3675.<clinit>(class_3675.java:42) ... 15 more

VVD commented

Check games/lwjgl3 port.