Closed Nepomuk1999 closed 4 years ago
Update these are the files and folders in
bin:
lib:
@Nepomuk1999 Try to add C:\MinGW\bin
in -Djava.library.path
(use semicolon to separate the two paths). Tell me if it works.
Thanks for the quick answere, i still get this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\MinGW\msys\1.0\home\bau\Ibex\ibex-2.8.7\lib\ibex-java.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1850)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.chocosolver.solver.constraints.real.Ibex.
Execution failed for task ':Main.main()'.
Process 'command 'C:/Java/jdk1.8.0_251/bin/java.exe'' finished with non-zero exit value 1
Someone recently experienced exactly the same problem, see https://github.com/ibex-team/ibex-lib/issues/430. The solution was to clean up the PATH variable and to include only the necessary paths. Can you look at that post?
Thanks for the lead, i deleted the following from Path :
C:\MinGW\msys\1.0\home\bau\Ibex\ibex-2.8.7; C:\MinGW\bin; C:\Python27; %IBEX_PATH%\lib
in Intelij i kept the following VM options:
now its working thanks a lot
You're welcome, thanks for reporting how you fixed it.
Hi i try to get ibex working with the choco-solver. the installation seems to be fine and the The Test from compiling a test program from http://www.ibex-lib.org/doc/install.html#uninstall works as well.
But when i try to start the program from Intelij i get the following:
Execution failed for task ':Main.main()'.
I am working on a win7 Machine installed 32 bit MinGW and java jdk 1.8.0_251.
ChocoSolver 4.10.2 imported with gradle as mentioned on their getingStarted page.
InteliJ Run/Debug Config:
During the waf-configuration i used the "--prefix=/c/MinGW/msys/1.0/home/bau/Ibex/ibex-2.8.7" instead of [...].
Hopefully somebody can help me. Best wishes.