Originally posted by: SystemAdmin
Hi Petr,
Thanks for pointing out the build.xml file. When I run this with ant I get the same error as before:
run:
echo Running Color
java Native code library failed to load: ensure the appropriate library (oplXXX.dll/.so) is in your path.Exceptions:
java java.lang.UnsatisfiedLinkError: no opl23 in java.library.path
java java.lang.UnsatisfiedLinkError: no opl_lang_wrap_cpp in java.library.path
java java.lang.UnsatisfiedLinkError: C:\ILOG\CPOptimizer23\bin\x86_win32\cp_wrap_cpp_java23.dll: Can't find dependent libraries
java java.lang.UnsatisfiedLinkError: no concert_wrap_cpp_java23 in java.library.path
java java Exception in thread "main" java.lang.ExceptionInInitializerError
java at ilog.concert.cppimpl.IloEnv.<init>(IloEnv.java:49)
java at ilog.concert.IloModelerAdvImpl.<init>(IloModelerAdvImpl.java:37)
java at ilog.cp.IloCP.<init>(IloCP.java:111)
java at ilog.cp.IloCP.<init>(IloCP.java:104)
java at Color.main(Unknown Source)
java Caused by: java.lang.RuntimeException: Native code library failed to load: ensure the appropriate library (oplXXX.dll/.so) is in your path.Exceptions:
java java.lang.UnsatisfiedLinkError: no opl23 in java.library.path
java java.lang.UnsatisfiedLinkError: no opl_lang_wrap_cpp in java.library.path
java java.lang.UnsatisfiedLinkError: C:\ILOG\CPOptimizer23\bin\x86_win32\cp_wrap_cpp_java23.dll: Can't find dependent libraries
java java.lang.UnsatisfiedLinkError: no concert_wrap_cpp_java23 in java.library.path
java java at ilog.concert.IloJNILoader.loadJNI(IloJNILoader.java:102)
java at ilog.concert.cppimpl.concert_wrapJNI.<clinit>(concert_wrapJNI.java:15)
java ... 5 more
java Java Result: 1
I am trying to get my program running on 32bit Windows. I actually had no problem running it on 32bit and 64bit linux, just with Windows. One reason I suspect I am missing some dll's is that in 32bit linux libcp_wrap_cpp_java23.so is 30MB but in 32bit Windows cp_wrap_cpp_java23.dll is only 12.1MB. Do I need to have anything other than CP Optimizer 2.3 installed for this to work?
Alex
#CPOptimizer#DecisionOptimization