Open Apogeum12 opened 10 months ago
I don't know if this is still an issue, but the same thing happened to me, solution was to specify the "clang-runtime" feature for opencv in cargo.toml I also have no idea why this happens, but this did the job for me, hope it works for you too!
Edit: I got the solution from a similar issue in opencv, but unfortunately I do not have it at hand.
I have a strange issue, when I add ffmpeg-next to Cargo.toml then I can't compile my project. I want to add the ffmpeg feature to a project that uses OpenCV features. Not only that, but I tested all versions of v6 and v5. The error looks like an issue with opencv, but when I remove ffmpeg-next from cargo.toml, OpenCV and the whole project compile successfully. And of course, the app works with opencv.
System info OS: Ubuntu 23.10 x86_64 Kernel: 6.5.0-14-generic
I don't know why libclang isn't detected(is a installed) with ffmpeg-next in dependencies. This is very strange; this is my first issue like this in RUST and in general, so I don't have much idea how to try to resolve this issue. Maybe someone will have some ideas.