From: Robert J. <job...@gm...> - 2015-11-27 09:17:25
|
Hi Dominique, I download guido jdk from sourceforge it's GuidoJava-v.1.23 and I download latest src from sourceforge too and made .so. First System.load is working but guido.init throw this error. 2015-11-27 9:37 GMT+01:00 Dominique Fober <fo...@gr...>: > Hi Robert, > > I’ve just tried on ubuntu (version 14.04 but I don’t think it matters) and > it works on my side. > What version of guido are you using ? did you download the latest guido > jdk from sourceforge ? (GuidoJava-v.1.23) > or are you using the src code from the git repository ? > — > Dominique > > > > Le 27 nov. 2015 à 01:26, Robert Jobbagy <job...@gm...> a > écrit : > > > > Hi Guys, > > > > I try to use GUIDO lib with java on linux (Ubuntu 15.04). > > > > I have a problem in guidoviewer.java static constructor : > > > > static { > > try { > > System.setProperty("java.library.path", > "/usr/lib/"); > > System.loadLibrary("GUIDOEngine"); > > System.err.println("Native lib loading success"); > > guido.Init("Guido2", "Times"); > // guido engine initailization is required before calling any > guidoscore API > > if (guido.xml2gmn()) > // check if musicxml support is available > > System.out.println("libMusicXML v." + > guido.musicxmlversion() + > > " with GMN converter v." + > guido.musicxml2guidoversion()); > > } catch (UnsatisfiedLinkError e) { > > System.err.println("Native code library failed to > load.\n" + e); > > System.exit(-1); > > } > > } > > > > It's failed when guido.init called I see this Exception : > > > > Native lib loading success > > GUIDOEngine native code library initialization failed. > > java.lang.UnsatisfiedLinkError: guidoengine.guidolayout.Init()V > > Native code library failed to load. > > java.lang.UnsatisfiedLinkError: > guidoengine.guido.Init(Ljava/lang/String;Ljava/lang/String;)I > > > > What's wrong ? > > > > Thanks your time. > > > > -- > > Best Regards, > > > > Robert > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Guidolib-devel mailing list > > Gui...@li... > > https://lists.sourceforge.net/lists/listinfo/guidolib-devel > > -- Best Regards, Robert |