From: Dominique F. <fo...@gr...> - 2015-11-27 08:38:09
|
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 |