首页 新闻 会员 周边 捐助

菜鸟提问:java 调用不了Windows动态链接库方式出错

0
[待解决问题]

调用方式:LedControl INSTANCE = (LedControl) Native.loadLibrary("LEDSender2010",LedControl.class);
报错:Exception in thread "Timer-0" java.lang.UnsatisfiedLinkError: Unable to load library 'LEDSender2010': ???????¨
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:145)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:188)
at com.sun.jna.Library$Handler.<init>(Library.java:123)
at com.sun.jna.Native.loadLibrary(Native.java:255)
at com.sun.jna.Native.loadLibrary(Native.java:241)
at CommonDemo$LedControl.<clinit>(CommonDemo.java:17)
at CommonDemo$1.run(CommonDemo.java:558)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

破晓_北落的主页 破晓_北落 | 菜鸟二级 | 园豆:202
提问于:2018-10-19 10:17
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册