Hello
I am encountering the following linker error when attempting to use GLPK
via a Java wrapper.
/The dynamic link library for GLPK for Java could not be loaded.//
//Consider using//
//java -Djava.library.path=//
//The current value of system property java.library.path is://
//C:\Program Files\GLPK\winglpk-4.55\glpk-4.55\w64//
//Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
Files\GLPK\winglpk-4.55\glpk-4.55\w64\glpk_4_55_java.dll: Can't find
dependent libraries//
// at java.lang.ClassLoader$NativeLibrary.load(Native Method)//
// at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)//
// at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)//
// at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)//
// at java.lang.Runtime.loadLibrary0(Runtime.java:845)//
// at java.lang.System.loadLibrary(System.java:1084)//
// at org.gnu.glpk.GLPKJNI.<clinit>(GLPKJNI.java:24)//
// at org.gnu.glpk.GLPK.glp_create_prob(GLPK.java:222)//
// at org.GMPL.Gmpl.solve(Gmpl.java:44)//
// at org.user.UserMain.main(UserMain.java:85)//
//
/The error arises from my call to /glp_create_prob().
/I am using Eclipse and have set the JNI Java library path to the path
indicated above :
C:\Program Files\GLPK\winglpk-4.55\glpk-4.55\w64
Appreciate your help.
Many thanks.
LRB
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com
_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk