OpenSceneGraph
OpenSceneGraph copied to clipboard
Build error from Yocto Kirkstone
Hi,
I am building OpenSceneGraph-3.6.5 with Yocto which use ffmpeg-5.0.1. When I provide dependency for ffmpeg, it occurred compile error with following logs.
git/src/osgPlugins/ffmpeg/FFmpegPacket.hpp:45:17: error: 'av_free_packet' was not declared in this scope; did you mean 'av_new_packet'?
.
.
.
git/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp:91:25: error: 'AVPicture' has not been declared
I think osgPlugins for ffmpeg is not upgrade with ffmpeg version up.
BR, Mark
3.6.5 predates the changes to ffmpeg which have broken compatibility.
There is a PR that I haven't had a chance to review and merge which you could try out. #1281.