sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59485
[Question #818691]: I am getting error on Mac for sikuli I am using oracle java 21-
New question #818691 on SikuliX:
https://answers.launchpad.net/sikuli/+question/818691
Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib, 0x0001): tried: '/Users/lbinawad/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/lbinawad/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (no such file), '/Users/lbinawad/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
[error] Save your work, correct the problem and restart the IDE!
[error] see: https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4
TERMINATING: problem with native library: libopencv_java430.dylib
java.lang.ExceptionInInitializerError
at org.sikuli.script.Pattern.<init>(Pattern.java:128)
at SeleniumTest.testImagePresence(SeleniumTest.java:32)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:686)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:230)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:63)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:992)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:203)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:154)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:134)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.testng.TestRunner.privateRun(TestRunner.java:739)
at org.testng.TestRunner.run(TestRunner.java:614)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:421)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373)
at org.testng.SuiteRunner.run(SuiteRunner.java:312)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1208)
at org.testng.TestNG.runSuites(TestNG.java:1112)
at org.testng.TestNG.run(TestNG.java:1079)
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)
Caused by: org.sikuli.script.SikuliXception: fatal: problem with native library: libopencv_java430.dylib
at org.sikuli.script.support.RunTime.terminate(RunTime.java:1140)
at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1285)
at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1434)
at org.sikuli.script.Finder$Finder2.<clinit>(Finder.java:538)
... 27 more
===============================================
Default Suite
Total tests run: 1, Passes: 0, Failures: 1, Skips: 0
===============================================
Process finished with exit code 0
I am using oracle java 21 , can you please help me to resolve this issue
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.