← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #819514]: Getting error org.sikuli.script.SikuliXception: loadlib: libopencv_java481.dylib not in any libs folder

 

Question #819514 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/819514

Description changed to:
I have following dependencies on my Mac OS. I am using IntelliJ for integrating Playwright with Sikuli.    
<dependency>
            <groupId>com.microsoft.playwright</groupId>
            <artifactId>playwright</artifactId>
            <version>1.44.0</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java -->
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-java</artifactId>
            <version>7.18.0</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-junit -->
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-junit</artifactId>
            <version>7.18.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.sikulix</groupId>
            <artifactId>sikulixapi</artifactId>
            <version>2.0.5</version>
        </dependency>

While running the test. I am getting error: 
[error] RunTime:loadLib: libopencv_java430.dylib (failed) probably dependent libs missing:
/Users/zsiddique/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib: dlopen(/Users/zsiddique/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib, 0x0001): tried: '/Users/zsiddique/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/zsiddique/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (no such file), '/Users/zsiddique/Library/Application Support/Sikulix/SikulixLibs/libopencv_java430.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

I tried to manually install opencv manually using command: brew install
opencv. However, this has not helped me in resolving the issue. Kindly
advice.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.