[英]Specific Sikuli project not creating libs folder with mac dylib files
I'm using a .NET wrapper for Sikuli called Sikuli4Net (created by tiennen07), this wrapper depends on another project, called Sikulirestapi that are implemented in Java and exposes through REST some core functionalities of Sikuli. 我正在为Sikuli使用一个名为Sikuli4Net的.NET包装(由tiennen07创建),该包装依赖于另一个名为Sikulirestapi的项目,该项目以Java实现,并通过REST公开了Sikuli的一些核心功能。 The Sikulirestapi has a dependency to a specific sikulixapi.jar that has more dependencies than oficial sikulixapi.jar (generated by oficial Sikuli code from RaiMan), as a result it's bigger.
Sikulirestapi对特定sikulixapi.jar的依赖性要比Oficial sikulixapi.jar(由RaiMan的Oficial Sikuli代码生成)具有更多的依赖性,因此,它更大。 I separated the project of Sikulirestapi from Sikuli4Net to work like selenium-server standalone, so I can start the Sikulirestapi server through terminal and send parameter to another host remotely.
我将Sikulirestapi的项目从Sikuli4Net中分离出来,使其像硒服务器一样独立工作,因此我可以通过终端启动Sikulirestapi服务器,然后将参数远程发送到另一台主机。
The problem is when I'm going to start the Sikulirestapi on a Mac, because this specific sikulixapi.jar doesn't have any lib for Mac inside it, only for Windows. 问题是当我要在Mac上启动Sikulirestapi时,因为此特定的sikulixapi.jar里面没有用于Mac的任何lib,仅用于Windows。 When I send commands from a PC to a Mac It's causing the following exception:
当我从PC向Mac发送命令时,导致以下异常:
Instantiated new Screen object...
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/henrique.eguchi/Documents/automacao/SikuliServer/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/henrique.eguchi/Documents/automacao/SikuliServer/libs
[error] ResourceLoader: loadLib: Fatal Error 109: not found: /Users/henrique.eguchi/Documents/automacao/SikuliServer/libs/libVisionProxy.dylib
[error] RunSetup: Problem with SikuliX libs folder - see error log
[error] Terminating SikuliX after a fatal error(109)! 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.
When I go to the current folder of the Sikulirestapi.jar I find a libs folder but nothing inside it, according to above error, this project is not creating the properly dylib files. 当我转到Sikulirestapi.jar的当前文件夹时,我发现一个libs文件夹,但其中没有任何内容,根据上述错误,该项目未创建正确的dylib文件。 When I test on a PC, the folder is created correctly with all needed .dll's.
当我在PC上测试时,将使用所有需要的.dll正确创建该文件夹。
I did not find this specific sikulixapi code, so how can I include the Mac dependencies and make this project create the right files to work properly on this platform? 我没有找到这个特定的sikulixapi代码,那么如何才能包含Mac依赖项并使该项目创建正确的文件以在该平台上正常工作?
我在包含SikuliX项目所需的dylib的软件包和sikulirestapi.jar之间进行了合并,问题得以解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.