question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

maven project call webcam-capture fail on aarch64 platform

See original GitHub issue

maven project call webcam-capture fail on aarch64 platform get exceptions:

java.lang.RuntimeException: Failed to initialize BridJ (java.lang.UnsatisfiedLinkError: /tmp/BridJExtractedLibraries2069336107326078457/libbridj.so: /tmp/BridJExtractedLibraries2069336107326078457/libbridj.so: 无法打开共享对象文件: 没有那个文件或目录 (Possible cause: can’t load AMD 64-bit .so on a AARCH64-bit platform)) at org.bridj.Platform.initLibrary(Platform.java:444) at org.bridj.Platform.<clinit>(Platform.java:228) at com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.<clinit>(OpenIMAJGrabber.java:59) at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.handle(WebcamDefaultDriver.java:55) at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)

Caused by: java.lang.UnsatisfiedLinkError: org.bridj.Platform.sizeOf_ptrdiff_t()I at org.bridj.Platform.sizeOf_ptrdiff_t(Native Method) at org.bridj.Platform.<clinit>(Platform.java:232) at com.github.sarxos.webcam.ds.buildin.natives.OpenIMAJGrabber.<clinit>(OpenIMAJGrabber.java:59) at com.github.sarxos.webcam.ds.buildin.WebcamDefaultDriver$WebcamNewGrabberTask.handle(WebcamDefaultDriver.java:55) at com.github.sarxos.webcam.WebcamProcessor$AtomicProcessor.run(WebcamProcessor.java:81)

my maven config:

`<dependency> <groupId>com.github.sarxos</groupId> <artifactId>webcam-capture</artifactId> <version>0.3.12</version> </dependency>

    <dependency>
        <groupId>com.nativelibs4java</groupId>
        <artifactId>bridj</artifactId>
        <version>0.7.0</version>
    </dependency>`

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
shinobisoftcommented, Oct 10, 2022

See this https://github.com/sarxos/webcam-capture/issues/870#issuecomment-1210795046

0reactions
Jeizzcommented, Nov 17, 2022

is it possible to add what is necessary to make OpenImaj work on aarch64 ?

recently bridj includes the files for aarch64 in its latest version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · sarxos/webcam-capture - GitHub
The goal of this project is to allow integrated or USB-connected webcams to be accessed ... maven project call webcam-capture fail on aarch64...
Read more >
How to solve 'Maven cannot resolve dependencies' on ARM ...
My java project is working properly on classical architecture, i.e. Von Neumann architecture. However, maven is unable to resolve ...
Read more >
Compilation With Arm - Apache Doris
This document describes how to compile Doris on the ARM64 platform. ... Failed to execute goal on project spark-dpp. problem causes.
Read more >
Debian -- Software Packages in "bullseye"
... android-sdk (28.0.2+3): Software development kit for Android platform ... for virtualbox-savvy projects; boinctui (2.5.1-1+b1 [amd64], 2.5.1-1 [arm64, ...
Read more >
Software Packages in "bionic" - Ubuntu
... (1.1.0-4) [universe]: Kernel module that enables you to call ACPI methods ... alex4 (1.1-7) [universe]: Alex the Allegator 4 - a retro...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found