← Back to team overview

sikuli-driver team mailing list archive

[Question #261760]: Fatal Error 110: loading: WinUtil.dll

 

New question #261760 on Sikuli:
https://answers.launchpad.net/sikuli/+question/261760

I am facing this error when running as batch. It compiles fine but fails during run-time. (Also in eclipse all runs fine.)


Folder Structure:
--------------------------

C:\workspace\Con\src\adhoc\RunEmailTest.java --> java program under package 'adhoc'
C:\workspace\jars\sikulix\*.jar --> all sikuli jars
C:\workspace\jars\sikulix\libs\*.dll -->all dll's here


My batch-file:
-------------------

@echo off
setlocal
set CLASSPATH=
set PATH=C:\workspace\jars\sikulix\libs;%PATH%
java -cp C:\workspace\jars\sikulix\sikuli-api-1.0.2.jar;C:\workspace\jars\sikulix\sikuli-java.jar  adhoc.RunEmailTest
endlocal
pause


echo %PATH% returns below:
---------------------------------------------

C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.7.0_71\bin;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\workspace\jars\sikulix\libs



Run-time error obtained:
-------------------------------------

[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 libraries
C:\workspace\jars\sikulix\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.


Any up-to-date solution for this? Sorry if this has been asked may times, but none of  the solution worked for me.

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