简体   繁体   English

不满意的链接错误:Java jar_Sikuli

[英]UnsatissfiedLink Error : Java jar_Sikuli

I have a automation test suite written in java using Sikuli and TestNG. 我有一个使用Sikuli和TestNG用Java编写的自动化测试套件。 I have created a Jar file for this project. 我已经为此项目创建了一个Jar文件。 Sikuli requires some *.dll to identify screen objects. Sikuli需要一些*.dll来标识屏幕对象。 To load these libraries I have used below code. 为了加载这些库,我使用了以下代码。

 public class OmsTest {
        static{

            System.load("D:\\OMS\\bin\\Sikuli-IDE\\libs\\VisionProxy.dll");

            System.load("D:\\OMS\\bin\\Sikuli-IDE\\libs\\Win32Util.dll");

        }
...
}

However, it is giving dependent library not found:Win32Util.dll when I run the jar file. 但是,当我运行jar文件时,它提供了dependent library not found:Win32Util.dll I tried loading other dependant dlls, they all are getting loaded successfully and belong to same above path. 我尝试加载其他依赖的dll,它们都已成功加载,并且属于上述路径。 I also have this location stored in PATH variable. 我也将此位置存储在PATH变量中。 But no luck. 但是没有运气。 How should I make it work? 我该如何运作?

https://answers.launchpad.net/sikuli/+question/272529上回答时,我切换到了SikuliX 1.1.0而不是Sikuli Script X-1.0rc3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM