X 1.0rc1: Can't find dependent libraries Win32Util.dll

Asked by Jason

********** for Solution read: https://answers.launchpad.net/sikuli/+question/140519

********** it seems better, to be already noted here: thanks to Mykhailo Moroz
Win32Util.dll depends on jawt.dll,
so add path to it (In my case "C:\Program Files\Java\jre6\bin") to the PATH variable.

---------------------------------------
Hi,

 The scripts run perfectly fine when I use the IDE. I'm trying to run my sikuli script from cmd line using this cmd:

Sikuli-IDE.bat -r C:\working\trunk\scripts\Acceptance\TC_12345_DrawFancyInkUsingToolbar.sikuli -s > C:\working\trunk\Log.txt

It works fine on my Vista and 7, but on XP, I get this error message:

java.lang.unsatisfiedLinkError: java.lang.UnsatisfiedLinkError: c:\working\trunk\libs\Win32Util.dll: Can't find dependent libraries

I tried looking in that folder and I found "VisionProxy.dll" & "Win32Util.dll" copied to that location. I wanted attach that dll file here, but I don't know how. :(

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Jason
Solved:
Last query:
Last reply:
Revision history for this message
Jason (jasonyoo) said :
#1

My mistake, it doesn't work on my Vista machine either(same error). So, the only machine that works is the Windows 7 64bit machine.
On my XP, "VDictProxy.dll" doesn't exist in the libs folder, but on my Vista & 7 do. Please help!

Revision history for this message
Jason (jasonyoo) said :
#2

I think this started to happen after I upgraded to Sikuli X.

Revision history for this message
Jason (jasonyoo) said :
#3

I just saw the related post about this. I figured it out. Thanks anyways!

Revision history for this message
Mykhailo Moroz (moroz-mykhailo) said :
#4

Win32Util.dll depends on jawt.dll, so add path to it (In my case "C:\Program Files\Java\jre6\bin") to the PATH variable.