Добрый день!
Использую java и Sikulix.
А у меня команда app.open(); вызывает ошибку.
Код:
package mcopackage;
import org.sikuli.script.App;
import org.sikuli.script.Screen;
import org.testng.annotations.BeforeSuite;
import org.testng.annotations.Test;
import java.io.File;
import java.io.IOException;
public class test {
@Test(enabled = true)
public static void main() throws IOException {
App app = new App("c:\\Windows\\System32\\cmd.exe");
app.open();
}
}
Ошибка:
[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
D:\Instal\auto\Sikuli\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.