xdagj icon indicating copy to clipboard operation
xdagj copied to clipboard

BUG : can't run on macbook pro m1

Open xdagx opened this issue 2 years ago • 1 comments

can't run any commands

sh xdag.sh -d --account init

8月 05, 2022 11:16:43 下午 org.apache.commons.beanutils.FluentPropertyBeanIntrospector introspect
信息: Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'int io.xdag.crypto.jni.Native.load_dnet_keys(byte[], int)'
	at io.xdag.crypto.jni.Native.load_dnet_keys(Native Method)
	at io.xdag.config.AbstractConfig.initKeys(AbstractConfig.java:197)
	at io.xdag.Launcher.buildConfig(Launcher.java:165)
	at io.xdag.cli.XdagCli.start(XdagCli.java:160)
	at io.xdag.cli.XdagCli.main(XdagCli.java:149)
	at io.xdag.cli.XdagCli.main(XdagCli.java:156)
	at io.xdag.Bootstrap.main(Bootstrap.java:32)

**Software information **

  • OS version : MacOS 12.5 M1
  • XDAGJ version : XDAGJ-0.4.9
  • JDK version : JDK17.0.4
  • Maven version : v3.8.6

xdagx avatar Aug 05 '22 15:08 xdagx

Java supports cross-platform support, including macos, but currently some native methods need to be compiled in macos before they can be used, and native calls will be removed in future versions.

LucasMLK avatar Oct 12 '22 01:10 LucasMLK

This issue can be resolved #166

LucasMLK avatar Nov 01 '22 14:11 LucasMLK