-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple Silicon Support #1069
Comments
Thanks to W. Bradford Paley and @oxisto, we now have builds for OpenBLAS, OpenCV, and LLVM! Please give it a try with the snapshots: http://bytedeco.org/builds/ |
For FFMPEG, I found this build for Mac M1: ffmpeg Apple silicon. |
In the case of FFmpeg, we also need to build the dependencies, so that means "porting" all of this: |
I've introduced |
Hi, I'm currently experiencing more or less the same issue as the author of the ticket bytedeco/javacv#1696 .
I also tried with other mixes of version (4.4-1.5.6/ 4.3.1-1.5.4) The project used to run perfectly on intel Macs with version 4.3.1-1.5.4
I was wondering if you had directions to provide to fix this issue? Specific versions to use or different packages to use? For reference here is the java version I currently use :
|
The builds are for FFmpeg 5.0, not 4.4.1. |
All right, I changed the FFmpeg versions for the project and adapted it from v4 to v5, but then I have a new error :
My FFmpeg -version output :
libpostproc seems to be installed correctly |
I've fixed that in the just released version. Try again with "5.0-1.5.7" (without "-SNAPSHOT"): |
Thanks ! it seems to work fine now 👍 |
@TheMode It looks like libffi works pretty much out of the box for |
Thanks! 'int org.bytedeco.libffi.global.ffi.FFI_TYPE_SMALL_STRUCT_1B()'
java.lang.UnsatisfiedLinkError: 'int org.bytedeco.libffi.global.ffi.FFI_TYPE_SMALL_STRUCT_1B()'
at org.bytedeco.libffi.global.ffi.FFI_TYPE_SMALL_STRUCT_1B(Native Method)
at org.bytedeco.libffi.global.ffi.<clinit>(ffi.java:109)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at org.bytedeco.javacpp.Loader.load(Loader.java:1282)
at org.bytedeco.javacpp.Loader.load(Loader.java:1227)
at org.bytedeco.javacpp.Loader.load(Loader.java:1203)
at org.bytedeco.libffi.ffi_cif.<clinit>(ffi_cif.java:16) when calling |
Seems to work, thanks! |
A fresh build of org.bytedeco.ffmpeg-platform via maven worked properly for me with either version This is in the context of building the jmisb project. |
What do we need to do build HDF5 for macosx-aarch64? |
I tried to complete onnx M1 Silicon Support manually, packaged and compiled without problems, and generated the jar files without problems, but when I used it, Throw an exception.
the following exception occurred and I was hoping for help. thanks
|
We can most likely fix that with a |
Done,Thanks:)
|
Intel doesn't provide an ARM version of MKL, that's normal. Please use OpenBLAS instead: |
javacpp haven 1.5.5 version for macosx-arm64, but javacpp-presets‘ sub-modules haven't any for macosx-arm64 |
- Upgrade React - Upgrade javacpp - Support macos-arm64: bytedeco/javacpp-presets#1069
Looks like GitHub Actions now has free M1 runners. That should make it easier to get builds running: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/ |
They need to run on macOS 14 though. If you choose a |
Let's not create a new action, let's add branches and what not to deploy-macosx, yes. From what I understand GCC isn't available at all on Apple Silicon, so we can skip all that, and no need to worry about /usr/local paths there. |
Since there are going to be more and more Apple Silicon computers in the wild, it would make sense to make a JAR for macosx-aarch64
The text was updated successfully, but these errors were encountered: