我正在尝试使用这个教程创建一个Minecraft模组,将版本改为支持1.15.1
。
我移动了一些文件以使其正常工作,但随后出现了以下情况:
---- Minecraft Crash Report ----
// Everything's going to plan. No, really, that was supposed to happen.
Time: 12/04/20 1:44 PM
Description: Initializing game
java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.dylib
at org.lwjgl.system.Library.loadSystem(Library.java:147)
at org.lwjgl.system.Library.loadSystem(Library.java:67)
at org.lwjgl.system.Library.<clinit>(Library.java:50)
at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:61)
at net.minecraft.client.MainWindow.func_211162_a(MainWindow.java:121)
at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:69)
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(RenderSystem.java:530)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:367)
at net.minecraft.client.main.Main.main(Main.java:138)
at inject.mcp.client.Start.main(Start.java:19)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at org.lwjgl.system.Library.loadSystem(Library.java:147)
at org.lwjgl.system.Library.loadSystem(Library.java:67)
at org.lwjgl.system.Library.<clinit>(Library.java:50)
at org.lwjgl.system.MemoryUtil.<clinit>(MemoryUtil.java:97)
at org.lwjgl.system.Pointer$Default.<clinit>(Pointer.java:61)
at net.minecraft.client.MainWindow.func_211162_a(MainWindow.java:121)
at com.mojang.blaze3d.platform.GLX._initGlfw(GLX.java:69)
at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(RenderSystem.java:530)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:367)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(Main.java:138)
at inject.mcp.client.Start.main(Start.java:19)
-- System Details --
Details:
Minecraft Version: 1.15.1
Minecraft Version ID: 1.15.1
Operating System: Mac OS X (x86_64) version 10.15.2
Java Version: 1.8.0_241, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 547425376 bytes (522 MB) / 862978048 bytes (823 MB) up to 1908932608 bytes (1820 MB)
CPUs: 8
JVM Flags: 0 total;
Launched Version: mcp
Backend library: LWJGL version 3.2.1 build 12
Backend API: ~~ERROR~~ NoClassDefFoundError: Could not initialize class org.lwjgl.system.Library
GL Caps:
Using VBOs: Yes
Is Modded: Very likely; Jar signature invalidated
Type: Client (map_client.txt)
CPU: <unknown>
似乎它找不到库"liblwjgl.dylib"。
检查后,我找到了一个可能匹配的文件: liblwjgl.dylib.sha1位于lwjgl-3.2.1.jar的项目和外部依赖项中 但由于某种原因,那似乎行不通。我以前从未见过后缀为
.sha1
的文件,它是什么功能?它包含一行哈希值(我假设是sha1
)。我正在使用macOSCatalina、Java 8和Gradle 4.8.1与Eclipse 4.15.0。