La bibliothèque de liens dynamiques pour GLPK pour Java n'a pas pu être chargé. Pensez à utiliserGLPK java java.lang.UnsatisfiedLinkError: Vous ne trouvez pas les bibliothèques dépendantes
java -Djava.library.path=
The current value of system property java.library.path is:
\\MILP\lib\glpk-4.55\w64
Exception in thread "main" java.lang.UnsatisfiedLinkError:
\\MILP\lib\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.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.gnu.glpk.GLPKJNI.<clinit>(GLPKJNI.java:24)
at org.gnu.glpk.GLPK.glp_version(GLPK.java:2259)
at TestMain.main(TestMain.java:7)
- J'ai ajouté le fichier JAR correct
- J'ai donné le chemin natif correct pour la bibliothèque
encore le problème persiste,
un doute que je est que le fichier \ MILP \ lib \ glpk-4.55 \ w64 \ glpk_4_55_java.dll est défectueux. Je l'ai vérifié à l'aide dependencyWalker là, il montre quelques avertissements
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Des pistes seraient appréciés
* vu ......... * – gab06