-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
multiple definition of ocvrs_create_string
#597
Comments
There is 2 different version of
and apparently that doesn't work, which is logical when I think about it. So the solution would be to make sure there is only a single opencv version. As far as I can see the version 0.92 is the direct dep, but 0.88 seems to be a transitive dependency. |
Ah that does make sense. I missed that looking through everything. Thanks. I switched to use only |
On the other hand it's actually a bug and it looks like it's easy to fix, can you please try to use v0.92.2 to see if the error is fixed in your case? |
You should also not need this lints section in your
|
Testing out now... frequency-chain/metadata-portal#87 |
That still error'd on me:
https://github.com/frequency-chain/metadata-portal/actions/runs/10202774937/job/28227646901 Testing again with keeping the |
I see, I’ll need to check why the lints are still needed |
Nope. Same error: https://github.com/frequency-chain/metadata-portal/actions/runs/10202867537/job/28227926403?pr=87
|
Thanks for checking! I’ll try to see why it didn’t work for you |
This should now be fixed as long as one of the used versions is 0.93.1, can you please check to confirm? |
I had to keep the lint line in, but it is now working! Thanks for the fix! https://github.com/frequency-chain/metadata-portal Retained Lint: [lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = [
'cfg(ocvrs_opencv_branch_32)',
] } |
Yeah, I think that the lint warnings are triggered by the older version of the crate |
Running into an issue with opencv that I haven't seen anywhere else.
Ubuntu Latest
(Note this compiles fine on my M1 Mac)Perhaps I am just missing something basic, but the workflow is doing
apt install -y clang libclang-dev libopencv-dev
The text was updated successfully, but these errors were encountered: