while building synfig for the first time from the cloned repository https://github.com/synfig/synfig.git … ETL was build successfully but I faced these error in synfig-core stage … waiting for someone’s early reply
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:196:6: error: reference to ‘AVPixelFormat’ is ambiguous
(AVPixelFormat)video_frame_rgb->format,
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:199:6: error: reference to ‘AVPixelFormat’ is ambiguous
(AVPixelFormat)video_frame->format
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:209:53: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
if (avcodec_parameters_from_context(video_stream->codecpar, video_context) < 0) {
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:209:76: error: ‘avcodec_parameters_from_context’ was not declared in this scope
if (avcodec_parameters_from_context(video_stream->codecpar, video_context) < 0) {
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:267:28: error: ‘av_packet_alloc’ was not declared in this scope
packet = av_packet_alloc();
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:348:52: error: ‘avcodec_send_frame’ was not declared in this scope
if (avcodec_send_frame(video_context, video_frame) < 0) {
synfig/synfig-core/src/modules/mod_libavcodec/trgt_av.cpp:354:58: error: ‘avcodec_receive_packet’ was not declared in this scope
int res = avcodec_receive_packet(video_context, packet);