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

Description changed to:
The Precondition:
I installed the Sikuli IDE on Windons XP, and import the Sikuli API 1.0.2 
Standalone Jar into the java project in Eclipse.  and then set the environment 
variable %SIKULI_HOME% that is expected to contain the directory, where Sikuli 
X is installed. 

After that, i run the following demo program in Eclipse:
public class HelloWorldExample {
        public static void main(String[] args) throws MalformedURLException{
        browse(new URL("http://code.google.com";));
                ScreenRegion s = new DesktopScreenRegion(); 

            Target imageTarget = new ImageTarget(imageURL); 
            ScreenRegion r = s.wait(imageTarget,5000); 

            Canvas canvas = new DesktopCanvas();
            canvas.addLabel(r, "Hello World").display(3); 
            
            Mouse mouse = new DesktopMouse(); 
            mouse.click(r.getCenter()); 
        }
}

When the program excutes on  "ScreenRegion r = s.wait(imageTarget,5000); " , 
the error showning:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and 
Settings\user\Local Settings\Temp\javacpp5320332087426\jniopencv_core.dll: 
Can't find dependent libraries

Who would like to tell me what the reason is? thank you in advance!

Yan

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to