← Back to team overview

sikuli-driver team mailing list archive

[Question #261331]: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

 

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

Hi,

I am trying to work with Sikuliy on Windows 7 64 bit with Java 7 version.

I have installed Sikuli-X-1.0rc3 (r905)-win32 with patches sikuli-r930-win32.

I am getting below errors.

1) I could able to launch Sikuli IDE and tried to use features of IDE such as Take Scrren shot and standard functions such as click(), find() readily available. But IDE goes hiding.
I mitigated this by using Snipping tool to capture the screen and manually use the functions click(), find().
I am not able to insert these functions in script

2) The Sikuli.IDE-w.bat works as expected. I tried to run Sikiuli using Java options. I got the error java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform. here below the scripts for IDE and Java.

--IDE--
@echo off
setlocal
PATH=%PROGRAMFILES(X86)%\Sikuli X\libs;%PATH%;
set SIKULI_HOME=%PROGRAMFILES(X86)%\Sikuli X\
set JAVA_EXE="javaw"
set JAVA_HOME=%PROGRAMFILES(X86)%\Java\jre7
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre7\bin\javaw.exe"
start /B "Sikuli-IDE" %JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%PROGRAMFILES(X86)%\Sikuli X\sikuli-script.jar/" -jar "%PROGRAMFILES(X86)%\Sikuli X\sikuli-ide.jar" -r "C:\\Sources\\Sikuli\\Sikuliscript9.sikuli" %*
endlocal

--JAVA--
@echo off
setlocal
PATH=%PROGRAMFILES(X86)%\Sikuli X\libs;%PATH%;%PROGRAMFILES(X86)%\Java\jre7\bin
set SIKULI_HOME=%PROGRAMFILES(X86)%\Sikuli X\
set JAVA_HOME=%PROGRAMFILES(X86)%\Java\jre7
java -jar "C:\\Program Files (x86)\\Sikuli X\\sikuli-script.jar" "C:\\Sources\\Sikuli\\Sikuliscript9.sikuli" >> c:\\Sources\\results.txt
endlocal
pause

It would be great help to know what settings are missing.

Also I tried to run Sikili scripts via Eclipse with jython interpreter. The same error java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform resulted.

Please suggest me the settings required both the cases.

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