-
-
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
Cross-compilation issues #504
Comments
Can you please attach the full build log as produced by |
I'm using gradle, which runs cargo internally. I passed in the args, the output is attached. (I also set |
I can't seem to find the original error in this log, but I'm seeing:
That's the first time I see something like this, it's really weird, this module has attribute with the path pointing to the correct file: https://github.com/twistedfall/opencv-rust/blob/master/build.rs#L18 so unless something bad was done to the crate source directory it shouldn't be possible, maybe related to how gradle handles it? |
And |
|
Logs have been attached, with the correct error this time ... |
However, I don't understand why
are being parsed. |
Looks promising actually, wasm is probably the best solution short of actual compilation. |
Background:
I am cross-compiling from windows to android, the package compiles fine for windows, but the cross compilation is failing.
The error seems to be coming from the
opencv-binding-generator
, specificallyspecific error from package:
Google isn't being very helpful, but I'm pretty sure that the issue might be that something isn't being declared as opaque in the bindgen generator? I'm not very good with this stuff, so it's just a theory.
The text was updated successfully, but these errors were encountered: