macOS aarch64 Build Fails: Missing Native Libraries (OpenCV, JogAmp) in Application Bundle #641
Unanswered
shivaramakrishna009
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem Summary:
We are experiencing consistent build failures for our Weasis-based application, "Athma," on macOS aarch64 (Apple Silicon). The application fails to launch from the installed
.app
bundle due toFileNotFoundException
errors, specifically indicating that the necessary native libraries (OpenCV and JogAmp) are not found in the/Applications/Athma.app/Contents/app/bundle
directory.Detailed Error Messages:
03.03.2025 10:17:42.805 SEVERE [main] org.weasis.launcher.AutoProcessor: Cannot install xz compressed bundle file:/Applications/Athma.app/Contents/app/bundle/weasis-opencv-core-macosx-aarch64-4.6.1-dcm.jar.xz
java.io.FileNotFoundException: /Applications/Athma.app/Contents/app/bundle/weasis-opencv-core-macosx-aarch64-4.6.1-dcm.jar.xz (No such file or directory)
...
03.03.2025 10:17:42.805 SEVERE [main] org.weasis.launcher.AutoProcessor: Cannot install a native bundle weasis-opencv-core-macosx-aarch64-4.6.1-dcm
java.io.FileNotFoundException: /Applications/Athma.app/Contents/app/bundle/weasis-opencv-core-macosx-aarch64-4.6.1-dcm.jar (No such file or directory)
...
03.03.2025 10:17:43.352 SEVERE [main] org.weasis.launcher.AutoProcessor: Cannot install xz compressed bundle file:/Applications/Athma.app/Contents/app/bundle/jogamp-macosx-aarch64-2.4.0.jar.xz
java.io.FileNotFoundException: /Applications/Athma.app/Contents/app/bundle/jogamp-macosx-aarch64-2.4.0.jar.xz (No such file or directory)
...
03.03.2025 10:17:43.353 SEVERE [main] org.weasis.launcher.AutoProcessor: Cannot install a native bundle jogamp-macosx-aarch64-2.4.0
java.io.FileNotFoundException: /Applications/Athma.app/Contents/app/bundle/jogamp-macosx-aarch64-2.4.0.jar (No such file or directory)
...
Environment:
Steps to Reproduce:
.app
bundle in the/Applications
directory.Expected Behavior:
The application should launch successfully.
Actual Behavior:
The application fails to launch, displaying
FileNotFoundException
errors related to missing OpenCV and JogAmp native libraries.Troubleshooting Steps Already Taken:
weasis-opencv-core-macosx-aarch64-*
andjogamp-macosx-aarch64-*
files are present during the build process.Request:
We are seeking assistance in identifying the root cause of these missing library errors. We would appreciate any insights or suggestions from the community.
Beta Was this translation helpful? Give feedback.
All reactions