-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
macos 12.6 opencv-rust0.80.0 opencv4.5.4 compile failed #460
Comments
Can you please post the full build log as produced by |
Compiling libc v0.2.142 warning: In file included from /Users/donny/Downloads/opencv-rust-0.80.0/target/debug/build/opencv-c0359cda232c7a75/out/flann.cpp:2: error: failed to run custom build command for Caused by: --- stderr error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-I" "/Users/donny/Downloads/opencv-rust-0.80.0/src_cpp" "-I" "/Users/donny/Downloads/opencv-rust-0.80.0/target/debug/build/opencv-c0359cda232c7a75/out" "-I" "." "-I" "/usr/local/opt/opencv/include/opencv4" "-Wall" "-Wextra" "-std=c++11" "-Wno-deprecated-declarations" "-Wno-deprecated-copy" "-Wno-unused-parameter" "-Wno-sign-compare" "-Wno-comment" "-Wno-unused-variable" "-Wno-ignored-qualifiers" "-Wno-return-type-c-linkage" "-F/usr/local/opt/opencv/include/opencv4" "-o" "/Users/donny/Downloads/opencv-rust-0.80.0/target/debug/build/opencv-c0359cda232c7a75/out/39fbc9fa60956bf1-gapi.o" "-c" "/Users/donny/Downloads/opencv-rust-0.80.0/target/debug/build/opencv-c0359cda232c7a75/out/gapi.cpp" with args "c++" did not execute successfully (status code exit status: 1). |
Can you please share the generated |
#include "gapi.hpp" extern "C" {
} |
This should be fixed in crate version 0.81.1 |
Operating system
macos 12.6
OpenCV version
opencv: 4.5.4 (brew install opencv)
rustc version (rustc --version)
rustc 1.69.0
5. Attach the full output of the following command from your project directory:
The text was updated successfully, but these errors were encountered: