我是使用的 Dice! 的包,然后将 Plum 直接拖到 plugins 中
然后打开的时候,加载到 Plum,开始报错缺少动态链接库
没有进行其他的配置,起初怀疑是 Dice! 的问题,后来尝试了用 Mirai 的干净安装,发现也是同样报错
在 Github 上搜索了,是一个叫做 silk4j 的库出了问题,但并没有解决方法
附一个日志
2021-08-11 21:30:03 I/Plum: Plum >> Enable.
2021-08-11 21:30:03 I/Plum: Start Init...
2021-08-11 21:30:03 I/Plum: [CommandSystem] Init CommandSystem.
2021-08-11 21:30:03 I/Plum: [FileSystem] Init FileSystem.
2021-08-11 21:30:03 I/Plum: [FileSystem] Init All Configs...
2021-08-11 21:30:03 I/Plum: [FileSystem] Init >> ApplicationConfig.json
2021-08-11 21:30:03 I/Plum: [FileSystem] Load Local File to Memory >> ApplicationConfig.json
2021-08-11 21:30:04 I/Plum: Init AudioUtils.
2021-08-11 21:30:09 E/Plum: java.lang.UnsatisfiedLinkError: 未找到适用于当前操作系统的动态链接库,请联系作者
java.lang.UnsatisfiedLinkError: 未找到适用于当前操作系统的动态链接库,请联系作者
at io.github.mzdluo123.silk4j.NativeLibLoader.loadFromResources(NativeLibLoader.java:52)
at io.github.mzdluo123.silk4j.NativeLibLoader.load(NativeLibLoader.java:22)
at io.github.mzdluo123.silk4j.AudioUtils.init(AudioUtils.java:20)
at com.sakurawald.PluginMain.onEnable(PluginMain.java:77)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:119)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:208)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:152)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:151)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:84)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:101)
at org.itxtech.mcl.Loader.start(Loader.java:128)
at org.itxtech.mcl.Loader.main(Loader.java:53)