-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to build on macOS m2 #1
Comments
Open
tallamjr
added a commit
that referenced
this issue
Jun 24, 2024
Avoids mat2image crate due to previous build errors. See description listed in #1 modified: src/main.rs
tallamjr
added a commit
that referenced
this issue
Jun 24, 2024
Avoids mat2image crate due to previous build errors. See description listed in #1 modified: src/main.rs
tallamjr
added a commit
that referenced
this issue
Jun 24, 2024
* Attempting to fix build issues See #1 for details. * Trial CI build * Test CI build on macos-13, only modified: .github/workflows/rust.yml modified: Cargo.toml * Ensure opencv installed * Remove dummy package * Dirty fix to macos-13 runner errors * fixup * Add cache option and ensure Xcode installed * Fn for mat -> dynamic image conversion Avoids mat2image crate due to previous build errors. See description listed in #1 modified: src/main.rs * Clean build option for current working version Use latest linker for Xcode * wip: build script/options for x-compiling in CI new file: .github/workflows/build.yml new file: __build.rs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A fresh install of
pup
fails to build on Apple M2 Sonoma 14.5.After updating the
Cargo.toml
file to matchv0.6.0
forcandle
, the following error occurs:This implies an issue with
open-cv
crate. Upon investigation, the following issue gave some clues: twistedfall/opencv-rust#548, specifically twistedfall/opencv-rust#548 (comment) suggests that the bug is caused by https://github.com/twistedfall/opencv-rust/blob/985af46844b74581d38325561b5baa240292c797/binding-generator/src/field.rs#L153 with a PR to be merged found at KyleMayes/clang-rs#58 that will fix things.Later, it was announced in twistedfall/opencv-rust#548 (comment) that an update to
opencv-rust
should resolve this if bumped toopencv = "=0.91.3"
.Though, because of this update to
mat2image
crate: rcastill/mat2image@7bc3cc7 it seems to cause the following error when fixing to theopencv-rust
version above:Then if we fix
mat2image
crate to a revision immediately prior to that change, i.e. in theCargo.toml
set:we in theory should be Ok, but the following error still occurs:
This can go one of two ways, either put on ice until tools are updated elsewhere, or try to use Github Actions to build for other platforms than macOS and compare outputs. TBD 🤔 ...
The text was updated successfully, but these errors were encountered: