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
ffmpeg-5.0 deprecates some types causing compilation failure #42
Comments
Probably just a missing |
Mmmh, adding the avcodec include improves things but does not fixes it all.
Also, i see other projects having to deal with this, it seems: opencv/opencv#20147 |
And this seems extremely relevant: |
I can confirm build failure on Ubuntu 22.04 and Debian 12. You can get the build to succeed by not installing libavcodec-dev and libavformat-dev libraries. The build switch -DDISABLE_FFMPEG=true does not seem to do anything. If you have libavcodec-dev and libavformat-dev libraries installed and use this build switch the build fails anyway. |
I try to build this on Gentoo stable. I also get a build failure. The default "cmake .. && make" procedure produces:
There seems to be no "avcodec" package I could not install here :-( |
No, that's only missing #include for official header file to provide Might be that disabled ffmpeg triggers if before opportunistic reuse of #include from ffmpeg applied. But might also trigger by varying cc versions. PR #44 for issue #33 already exists. Building myself on Gentoo successfully. |
Just a heads up, I will check and see what the fix may be. And this is not the whole error log, just a few lines.
This is on Fedora 36 beta that has ffmpeg 5.0
The text was updated successfully, but these errors were encountered: