简体   繁体   English

特定的Sikuli项目未使用Mac dylib文件创建libs文件夹

[英]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.

相关问题 有没有一种方法可以在Eclipse中将“ libs”文件夹添加到我的项目中 - Is there a way to add a 'libs' folder to my project in Eclipse 将特定文件从目录和子目录复制到Mac中的目标文件夹 - Copy specific files from a directory and subdirectories into a target folder in mac 华为特定的OS风格在我的文件文件夹中创建奇怪的文件 - Huawei specific OS flavour creating weird files in my files folder Sikuli中的“致命错误”,libs dir不在系统路径上 - “Fatal error” in Sikuli, libs dir is not on system path 如何更改文件夹以在项目中创建文件? - How I can change folder for creating files in project? Gradle 项目和资源文件夹以及用于创建文件的逻辑根 - Gradle project and resources folder and logical root for creating files UnsatisfiedLinkError:C:\\ Program Files(x86)\\ Sikuli X \\ libs \\ VisionProxy.dll:找不到依赖的库 - UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll: Can't find dependent libraries 在 Mac 上创建 Java 中的文件 - Creating Files in Java on a Mac 如何通过将Java库中的Runnable Jar导入libs文件夹来使用它 - How to use runnable jar in java project by importing it to libs folder 项目libs文件夹中的IntelliJ库仍然无法在类路径中拾取 - IntelliJ library in project libs folder still unable to be picked up in classpath
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM