← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235975]: [1.0.1] Windows: Java: "Fatal Error 110: loading: WinUtil.dll" when running from command prompt

 

Question #235975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235975

Brian Brown posted a new comment:
I'm getting the same error, but I have the environment set up correctly
- I'm trying to run sikuli under Grinder - which works great on my Mac.
Trying to get it going on Windows gives the WinUtil load error (later
below is debug level 3).

I set up sikuli on the windows machine pack 1 and the IDE itself runs
fine. The SIKULI_HOME environment variable is set for the whole system
and the %SIKULI_HOME%\libs folder is in the system (not user) path. I
have tried several things:

1. Add the sikuli-ide.jar to the classpath but leave it in the SIKULI_HOME folder.
2. Copy the sikuli-ide.jar locally (.\local-libs\) and add it to the classpath from there, as well as have ".\local-libs\libs" in the user path.

Both have the same error - I print out the PATH environ as seen by my
jython script right before I attempt: from sikuli import *

output:
2013-12-26 12:54:38,242 INFO  agent: Worker process command line: java '-javaagent:C:\Apps\Grinder\grinder-3.11\lib\grin
der-dcr-agent-3.11.jar' '-Dsikuli.Debug=3' -classpath 'C:\Apps\Grinder\local-libs\*;C:\Apps\Grinder\grinder-3.11\lib\gri
nder.jar' net.grinder.engine.process.WorkerProcessEntryPoint
2013-12-26 12:54:38,258 INFO  agent: worker jmeter-win-1-1 started
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Apps\Groovy\Groov
y-2.2.1\bin;C:\Apps\SikuliX\libs;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Apps\SikuliX\libs\;C:\Apps\Grinder\local-libs\
libs\
[debug] Jython: sikuli: __init__: entering
[debug] Jython: sikuli: Sikuli: entering
[debug] Jython: sikuli: Sikuli: constants
[debug] Jython: sikuli: Sikuli: import Region
[debug] Jython: sikuli: Sikuli: import Screen
[debug] Jython: sikuli: Sikuli: Env.addHotkey
[debug] Jython: sikuli: Sikuli: import Match
[debug] Jython: sikuli: Sikuli: import Pattern
[debug] Jython: sikuli: Sikuli: import Location
[debug] Jython: sikuli: Sikuli: import ScreenUnion
[debug] Jython: sikuli: Sikuli: import Finder
[debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242
[debug] ResourceLoaderBasic: check: we are running on arch: amd64
[debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: C:/Apps/Grinder/local-libs/
[debug] ResourceLoaderBasic: checkLibsDir: C:/Apps/Grinder/local-libs/libs
[debug] ResourceLoaderBasic: loadLib: WinUtil
[debug] ResourceLoaderBasic: loadLib: Found: WinUtil
[error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll
[error] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent librar
ies
C:\Apps\Grinder\local-libs\libs\WinUtil.dll: Can't find dependent libraries
[error] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder is in system path at runtime!
[error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] SikuliXFinal: cleanUp: 0

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.