Example is broken
spacekookie opened this issue · comments
Katharina Fey commented
So I'm currently failing at using your library. I'm using this on a 64bit Linux system (Arch Linux). I've first tried using jua in my own project but that failed, then I tried to build your example without much success
❤ (normandy) ~/P/g/j/template> ./gradlew desktop:run
Configuration on demand is an incubating feature.
:core:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
:core:processResources UP-TO-DATE
:core:classes
:core:jar
:desktop:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
:desktop:processResources UP-TO-DATE
:desktop:classes
:desktop:runException in thread "main" java.lang.UnsatisfiedLinkError: io.nondev.nonlua.Lua.jniOpen(I)Lio/nondev/nonlua/CPtr;
at io.nondev.nonlua.Lua.jniOpen(Native Method)
at io.nondev.nonlua.Lua.<init>(Lua.java:506)
at com.mylua.project.MyLuaProject.<init>(MyLuaProject.java:10)
at com.mylua.project.desktop.DesktopLauncher.main(DesktopLauncher.java:9)
BUILD SUCCESSFUL
Total time: 1.078 secs
It did download all the dependencies before but yea...obviously something must be missing. Any way you can fix this? Or tell me if I can fix it myself? It'd be kinda swell if a library ... you know ... worked 😛
Anyways, would appreciate any kind of feedback. Thanks :)