From: Robert J. <job...@gm...> - 2015-11-27 00:26:53
|
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 |