I just use the packages from ubuntu 20.04, something is wrong with packaging i suppose.
Code: Select all
ninja -C output/release
ninja: Entering directory `output/release'
[1/11] Compiling C++ object 'mpd@exe/src_command_FingerprintCommands.cxx.o'.
FAILED: mpd@exe/src_command_FingerprintCommands.cxx.o
c++ -Impd@exe -I. -I../.. -Isrc -I../../src -I../../ -I/usr/include/dbus-1.0 -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -I/usr/include/aarch64-linux-gnu -I/storage/code/buildroot/buildroot-openlinux-g12b/output/mesong12b_w400_release/host/aarch64-linux-gnu/sysroot/nick1234/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wvla -Wdouble-promotion -fvisibility=hidden -ffast-math -ftree-vectorize -fno-threadsafe-statics -fmerge-all-constants -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wextra-semi -Wunused -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -D_GNU_SOURCE -MD -MQ 'mpd@exe/src_command_FingerprintCommands.cxx.o' -MF 'mpd@exe/src_command_FingerprintCommands.cxx.o.d' -o 'mpd@exe/src_command_FingerprintCommands.cxx.o' -c ../../src/command/FingerprintCommands.cxx
In file included from ../../src/lib/chromaprint/DecoderClient.hxx:23,
from ../../src/command/FingerprintCommands.cxx:24:
../../src/lib/chromaprint/Context.hxx:35:10: fatal error: chromaprint.h: No such file or directory
35 | #include <chromaprint.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
[2/11] Compiling C++ object 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilter.cxx.o'.
FAILED: src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilter.cxx.o
c++ -Isrc/filter/plugins/00caeef@@filter_plugins@sta -Isrc/filter/plugins -I../../src/filter/plugins -Isrc -I../../src -I. -I../../ -I/usr/include/aarch64-linux-gnu -I/storage/code/buildroot/buildroot-openlinux-g12b/output/mesong12b_w400_release/host/aarch64-linux-gnu/sysroot/nick1234/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wvla -Wdouble-promotion -fvisibility=hidden -ffast-math -ftree-vectorize -fno-threadsafe-statics -fmerge-all-constants -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wextra-semi -Wunused -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -D_GNU_SOURCE -fPIC -MD -MQ 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilter.cxx.o' -MF 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilter.cxx.o.d' -o 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilter.cxx.o' -c ../../src/filter/plugins/FfmpegFilter.cxx
../../src/filter/plugins/FfmpegFilter.cxx:25:10: fatal error: libavfilter/buffersrc.h: No such file or directory
25 | #include <libavfilter/buffersrc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[4/10] Compiling C++ object 'src/lib/ffmpeg/7cc3430@@ffmpeg@sta/Filter.cxx.o'.
FAILED: src/lib/ffmpeg/7cc3430@@ffmpeg@sta/Filter.cxx.o
c++ -Isrc/lib/ffmpeg/7cc3430@@ffmpeg@sta -Isrc/lib/ffmpeg -I../../src/lib/ffmpeg -Isrc -I../../src -I. -I../../ -I/usr/include/aarch64-linux-gnu -I/storage/code/buildroot/buildroot-openlinux-g12b/output/mesong12b_w400_release/host/aarch64-linux-gnu/sysroot/nick1234/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wvla -Wdouble-promotion -fvisibility=hidden -ffast-math -ftree-vectorize -fno-threadsafe-statics -fmerge-all-constants -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wextra-semi -Wunused -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -D_GNU_SOURCE -fPIC -MD -MQ 'src/lib/ffmpeg/7cc3430@@ffmpeg@sta/Filter.cxx.o' -MF 'src/lib/ffmpeg/7cc3430@@ffmpeg@sta/Filter.cxx.o.d' -o 'src/lib/ffmpeg/7cc3430@@ffmpeg@sta/Filter.cxx.o' -c ../../src/lib/ffmpeg/Filter.cxx
In file included from ../../src/lib/ffmpeg/Filter.hxx:26,
from ../../src/lib/ffmpeg/Filter.cxx:20:
/usr/include/libavfilter/avfilter.h:691:62: error: use of enum ‘PixelFormat’ without previous declaration
691 | int w, int h, enum PixelFormat format);
| ^~~~~~~~~~~
In file included from ../../src/lib/ffmpeg/Filter.cxx:20:
../../src/lib/ffmpeg/Filter.hxx:39:2: error: ‘AVFilterInOut’ does not name a type; did you mean ‘FilterInOut’?
39 | AVFilterInOut *io = nullptr;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:41:36: error: expected ‘)’ before ‘*’ token
41 | explicit FilterInOut(AVFilterInOut *_io) noexcept
| ~ ^~
| )
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’:
../../src/lib/ffmpeg/Filter.hxx:48:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
48 | :io(avfilter_inout_alloc()) {
| ^~
../../src/lib/ffmpeg/Filter.hxx:48:7: error: ‘avfilter_inout_alloc’ was not declared in this scope
48 | :io(avfilter_inout_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:49:7: error: ‘io’ was not declared in this scope
49 | if (io == nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:52:3: error: ‘io’ was not declared in this scope
52 | io->name = av_strdup(name);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:59:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx:59:25: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterInOut::~FilterInOut()’:
../../src/lib/ffmpeg/Filter.hxx:62:7: error: ‘io’ was not declared in this scope
62 | if (io != nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:63:4: error: ‘avfilter_inout_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
63 | avfilter_inout_free(&io);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterInOut& Ffmpeg::FilterInOut::operator=(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:68:8: error: ‘io’ was not declared in this scope
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx:68:16: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterInOut::get()’:
../../src/lib/ffmpeg/Filter.hxx:73:10: error: ‘io’ was not declared in this scope
73 | return io;
| ^~
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:85:9: error: ‘AVFilterGraph’ has not been declared
85 | AVFilterGraph &graph_ctx) {
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:95:9: error: ‘AVFilterGraph’ has not been declared
95 | AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:119:10: error: ‘AVFilterGraph’ has not been declared
119 | AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:124:43: error: ‘AVFilterGraph’ has not been declared
124 | static FilterContext MakeAudioBufferSink(AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterContext::FilterContext(const AVFilter&, const char*, const char*, void*, int&)’:
../../src/lib/ffmpeg/Filter.hxx:86:13: error: ‘avfilter_graph_create_filter’ was not declared in this scope; did you mean ‘avfilter_insert_filter’?
86 | int err = avfilter_graph_create_filter(&context, &filt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| avfilter_insert_filter
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:136:2: error: ‘AVFilterGraph’ does not name a type; did you mean ‘FilterGraph’?
136 | AVFilterGraph *graph = nullptr;
| ^~~~~~~~~~~~~
| FilterGraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:141:16: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:141:22: error: ‘avfilter_graph_alloc’ was not declared in this scope
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:142:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
142 | if (graph == nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:147:4: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:147:28: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterGraph::~FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:150:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
150 | if (graph != nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:151:4: error: ‘avfilter_graph_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
151 | avfilter_graph_free(&graph);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterGraph& Ffmpeg::FilterGraph::operator=(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:156:8: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
156 | swap(graph, src.graph);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:156:19: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
156 | swap(graph, src.graph);
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto& Ffmpeg::FilterGraph::operator*()’:
../../src/lib/ffmpeg/Filter.hxx:161:11: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
161 | return *graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterGraph::operator->()’:
../../src/lib/ffmpeg/Filter.hxx:165:10: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
165 | return graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*, Ffmpeg::FilterInOut&&, Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:171:38: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:172:18: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:172:31: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:171:13: error: ‘avfilter_graph_parse_ptr’ was not declared in this scope
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*)’:
../../src/lib/ffmpeg/Filter.hxx:181:3: error: ‘AVFilterInOut’ was not declared in this scope; did you mean ‘FilterInOut’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:181:18: error: ‘inputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:181:27: error: ‘outputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:182:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:182:13: error: ‘avfilter_graph_parse2’ was not declared in this scope
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:187:43: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:187:65: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx: In member function ‘void Ffmpeg::FilterGraph::CheckAndConfigure()’:
../../src/lib/ffmpeg/Filter.hxx:191:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:191:13: error: ‘avfilter_graph_config’ was not declared in this scope
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.cxx: At global scope:
../../src/lib/ffmpeg/Filter.cxx:41:10: error: ‘AVFilterGraph’ has not been declared
41 | AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.cxx:70:1: error: ‘Ffmpeg::FilterContext Ffmpeg::FilterContext::MakeAudioBufferSink’ is not a static data member of ‘class Ffmpeg::FilterContext’
70 | FilterContext::MakeAudioBufferSink(AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.cxx:70:36: error: ‘AVFilterGraph’ was not declared in this scope; did you mean ‘FilterGraph’?
70 | FilterContext::MakeAudioBufferSink(AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
| FilterGraph
../../src/lib/ffmpeg/Filter.cxx:70:51: error: ‘graph_ctx’ was not declared in this scope
70 | FilterContext::MakeAudioBufferSink(AVFilterGraph &graph_ctx)
| ^~~~~~~~~
../../src/lib/ffmpeg/Filter.cxx:71:1: error: expected ‘,’ or ‘;’ before ‘{’ token
71 | {
| ^
[5/10] Compiling C++ object 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilterPlugin.cxx.o'.
FAILED: src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilterPlugin.cxx.o
c++ -Isrc/filter/plugins/00caeef@@filter_plugins@sta -Isrc/filter/plugins -I../../src/filter/plugins -Isrc -I../../src -I. -I../../ -I/usr/include/aarch64-linux-gnu -I/storage/code/buildroot/buildroot-openlinux-g12b/output/mesong12b_w400_release/host/aarch64-linux-gnu/sysroot/nick1234/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wvla -Wdouble-promotion -fvisibility=hidden -ffast-math -ftree-vectorize -fno-threadsafe-statics -fmerge-all-constants -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wextra-semi -Wunused -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -D_GNU_SOURCE -fPIC -MD -MQ 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilterPlugin.cxx.o' -MF 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilterPlugin.cxx.o.d' -o 'src/filter/plugins/00caeef@@filter_plugins@sta/FfmpegFilterPlugin.cxx.o' -c ../../src/filter/plugins/FfmpegFilterPlugin.cxx
In file included from ../../src/lib/ffmpeg/Filter.hxx:26,
from ../../src/filter/plugins/FfmpegFilter.hxx:24,
from ../../src/filter/plugins/FfmpegFilterPlugin.cxx:21:
/usr/include/libavfilter/avfilter.h:691:62: error: use of enum ‘PixelFormat’ without previous declaration
691 | int w, int h, enum PixelFormat format);
| ^~~~~~~~~~~
In file included from ../../src/filter/plugins/FfmpegFilter.hxx:24,
from ../../src/filter/plugins/FfmpegFilterPlugin.cxx:21:
../../src/lib/ffmpeg/Filter.hxx:39:2: error: ‘AVFilterInOut’ does not name a type; did you mean ‘FilterInOut’?
39 | AVFilterInOut *io = nullptr;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:41:36: error: expected ‘)’ before ‘*’ token
41 | explicit FilterInOut(AVFilterInOut *_io) noexcept
| ~ ^~
| )
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’:
../../src/lib/ffmpeg/Filter.hxx:48:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
48 | :io(avfilter_inout_alloc()) {
| ^~
../../src/lib/ffmpeg/Filter.hxx:48:7: error: ‘avfilter_inout_alloc’ was not declared in this scope
48 | :io(avfilter_inout_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:49:7: error: ‘io’ was not declared in this scope
49 | if (io == nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:52:3: error: ‘io’ was not declared in this scope
52 | io->name = av_strdup(name);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:59:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx:59:25: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterInOut::~FilterInOut()’:
../../src/lib/ffmpeg/Filter.hxx:62:7: error: ‘io’ was not declared in this scope
62 | if (io != nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:63:4: error: ‘avfilter_inout_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
63 | avfilter_inout_free(&io);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterInOut& Ffmpeg::FilterInOut::operator=(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:68:8: error: ‘io’ was not declared in this scope
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx:68:16: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterInOut::get()’:
../../src/lib/ffmpeg/Filter.hxx:73:10: error: ‘io’ was not declared in this scope
73 | return io;
| ^~
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:85:9: error: ‘AVFilterGraph’ has not been declared
85 | AVFilterGraph &graph_ctx) {
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:95:9: error: ‘AVFilterGraph’ has not been declared
95 | AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:119:10: error: ‘AVFilterGraph’ has not been declared
119 | AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:124:43: error: ‘AVFilterGraph’ has not been declared
124 | static FilterContext MakeAudioBufferSink(AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterContext::FilterContext(const AVFilter&, const char*, const char*, void*, int&)’:
../../src/lib/ffmpeg/Filter.hxx:86:13: error: ‘avfilter_graph_create_filter’ was not declared in this scope; did you mean ‘avfilter_insert_filter’?
86 | int err = avfilter_graph_create_filter(&context, &filt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| avfilter_insert_filter
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:136:2: error: ‘AVFilterGraph’ does not name a type; did you mean ‘FilterGraph’?
136 | AVFilterGraph *graph = nullptr;
| ^~~~~~~~~~~~~
| FilterGraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:141:16: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:141:22: error: ‘avfilter_graph_alloc’ was not declared in this scope
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:142:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
142 | if (graph == nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:147:4: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:147:28: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterGraph::~FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:150:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
150 | if (graph != nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:151:4: error: ‘avfilter_graph_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
151 | avfilter_graph_free(&graph);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterGraph& Ffmpeg::FilterGraph::operator=(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:156:8: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
156 | swap(graph, src.graph);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:156:19: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
156 | swap(graph, src.graph);
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto& Ffmpeg::FilterGraph::operator*()’:
../../src/lib/ffmpeg/Filter.hxx:161:11: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
161 | return *graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterGraph::operator->()’:
../../src/lib/ffmpeg/Filter.hxx:165:10: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
165 | return graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*, Ffmpeg::FilterInOut&&, Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:171:38: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:172:18: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:172:31: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:171:13: error: ‘avfilter_graph_parse_ptr’ was not declared in this scope
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*)’:
../../src/lib/ffmpeg/Filter.hxx:181:3: error: ‘AVFilterInOut’ was not declared in this scope; did you mean ‘FilterInOut’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:181:18: error: ‘inputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:181:27: error: ‘outputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:182:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:182:13: error: ‘avfilter_graph_parse2’ was not declared in this scope
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:187:43: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:187:65: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx: In member function ‘void Ffmpeg::FilterGraph::CheckAndConfigure()’:
../../src/lib/ffmpeg/Filter.hxx:191:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:191:13: error: ‘avfilter_graph_config’ was not declared in this scope
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~~~~~~~~~~~~~~~~~
../../src/filter/plugins/FfmpegFilterPlugin.cxx: In member function ‘virtual std::unique_ptr<Filter> PreparedFfmpegFilter::Open(AudioFormat&)’:
../../src/filter/plugins/FfmpegFilterPlugin.cxx:46:14: error: use of ‘auto& Ffmpeg::FilterGraph::operator*()’ before deduction of ‘auto’
46 | *graph);
| ^~~~~
../../src/filter/plugins/FfmpegFilterPlugin.cxx:48:65: error: use of ‘auto& Ffmpeg::FilterGraph::operator*()’ before deduction of ‘auto’
48 | auto buffer_sink = Ffmpeg::FilterContext::MakeAudioBufferSink(*graph);
| ^~~~~
../../src/filter/plugins/FfmpegFilterPlugin.cxx:55:19: error: use of ‘auto* Ffmpeg::FilterInOut::get()’ before deduction of ‘auto’
55 | if (io.first.get() != nullptr)
| ^
../../src/filter/plugins/FfmpegFilterPlugin.cxx:58:20: error: use of ‘auto* Ffmpeg::FilterInOut::get()’ before deduction of ‘auto’
58 | if (io.second.get() != nullptr)
| ^
[6/10] Compiling C++ object 'src/filter/plugins/00caeef@@filter_plugins@sta/HdcdFilterPlugin.cxx.o'.
FAILED: src/filter/plugins/00caeef@@filter_plugins@sta/HdcdFilterPlugin.cxx.o
c++ -Isrc/filter/plugins/00caeef@@filter_plugins@sta -Isrc/filter/plugins -I../../src/filter/plugins -Isrc -I../../src -I. -I../../ -I/usr/include/aarch64-linux-gnu -I/storage/code/buildroot/buildroot-openlinux-g12b/output/mesong12b_w400_release/host/aarch64-linux-gnu/sysroot/nick1234/usr/include -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -O3 -Wvla -Wdouble-promotion -fvisibility=hidden -ffast-math -ftree-vectorize -fno-threadsafe-statics -fmerge-all-constants -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -Wextra-semi -Wunused -Wno-non-virtual-dtor -ffunction-sections -fdata-sections -D_GNU_SOURCE -fPIC -MD -MQ 'src/filter/plugins/00caeef@@filter_plugins@sta/HdcdFilterPlugin.cxx.o' -MF 'src/filter/plugins/00caeef@@filter_plugins@sta/HdcdFilterPlugin.cxx.o.d' -o 'src/filter/plugins/00caeef@@filter_plugins@sta/HdcdFilterPlugin.cxx.o' -c ../../src/filter/plugins/HdcdFilterPlugin.cxx
In file included from ../../src/lib/ffmpeg/Filter.hxx:26,
from ../../src/filter/plugins/FfmpegFilter.hxx:24,
from ../../src/filter/plugins/HdcdFilterPlugin.cxx:21:
/usr/include/libavfilter/avfilter.h:691:62: error: use of enum ‘PixelFormat’ without previous declaration
691 | int w, int h, enum PixelFormat format);
| ^~~~~~~~~~~
In file included from ../../src/filter/plugins/FfmpegFilter.hxx:24,
from ../../src/filter/plugins/HdcdFilterPlugin.cxx:21:
../../src/lib/ffmpeg/Filter.hxx:39:2: error: ‘AVFilterInOut’ does not name a type; did you mean ‘FilterInOut’?
39 | AVFilterInOut *io = nullptr;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:41:36: error: expected ‘)’ before ‘*’ token
41 | explicit FilterInOut(AVFilterInOut *_io) noexcept
| ~ ^~
| )
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’:
../../src/lib/ffmpeg/Filter.hxx:48:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
48 | :io(avfilter_inout_alloc()) {
| ^~
../../src/lib/ffmpeg/Filter.hxx:48:7: error: ‘avfilter_inout_alloc’ was not declared in this scope
48 | :io(avfilter_inout_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:49:7: error: ‘io’ was not declared in this scope
49 | if (io == nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:52:3: error: ‘io’ was not declared in this scope
52 | io->name = av_strdup(name);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:59:4: error: class ‘Ffmpeg::FilterInOut’ does not have any field named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx:59:25: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
59 | :io(std::exchange(src.io, nullptr)) {}
| ^~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterInOut::~FilterInOut()’:
../../src/lib/ffmpeg/Filter.hxx:62:7: error: ‘io’ was not declared in this scope
62 | if (io != nullptr)
| ^~
../../src/lib/ffmpeg/Filter.hxx:63:4: error: ‘avfilter_inout_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
63 | avfilter_inout_free(&io);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterInOut& Ffmpeg::FilterInOut::operator=(Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:68:8: error: ‘io’ was not declared in this scope
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx:68:16: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
68 | swap(io, src.io);
| ^~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterInOut::get()’:
../../src/lib/ffmpeg/Filter.hxx:73:10: error: ‘io’ was not declared in this scope
73 | return io;
| ^~
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:85:9: error: ‘AVFilterGraph’ has not been declared
85 | AVFilterGraph &graph_ctx) {
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:95:9: error: ‘AVFilterGraph’ has not been declared
95 | AVFilterGraph &graph_ctx)
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:119:10: error: ‘AVFilterGraph’ has not been declared
119 | AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:124:43: error: ‘AVFilterGraph’ has not been declared
124 | static FilterContext MakeAudioBufferSink(AVFilterGraph &graph_ctx);
| ^~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterContext::FilterContext(const AVFilter&, const char*, const char*, void*, int&)’:
../../src/lib/ffmpeg/Filter.hxx:86:13: error: ‘avfilter_graph_create_filter’ was not declared in this scope; did you mean ‘avfilter_insert_filter’?
86 | int err = avfilter_graph_create_filter(&context, &filt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| avfilter_insert_filter
../../src/lib/ffmpeg/Filter.hxx: At global scope:
../../src/lib/ffmpeg/Filter.hxx:136:2: error: ‘AVFilterGraph’ does not name a type; did you mean ‘FilterGraph’?
136 | AVFilterGraph *graph = nullptr;
| ^~~~~~~~~~~~~
| FilterGraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:141:16: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:141:22: error: ‘avfilter_graph_alloc’ was not declared in this scope
141 | FilterGraph():graph(avfilter_graph_alloc()) {
| ^~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:142:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
142 | if (graph == nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In constructor ‘Ffmpeg::FilterGraph::FilterGraph(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:147:4: error: class ‘Ffmpeg::FilterGraph’ does not have any field named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx:147:28: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
147 | :graph(std::exchange(src.graph, nullptr)) {}
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In destructor ‘Ffmpeg::FilterGraph::~FilterGraph()’:
../../src/lib/ffmpeg/Filter.hxx:150:7: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
150 | if (graph != nullptr)
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:151:4: error: ‘avfilter_graph_free’ was not declared in this scope; did you mean ‘avfilter_link_free’?
151 | avfilter_graph_free(&graph);
| ^~~~~~~~~~~~~~~~~~~
| avfilter_link_free
../../src/lib/ffmpeg/Filter.hxx: In member function ‘Ffmpeg::FilterGraph& Ffmpeg::FilterGraph::operator=(Ffmpeg::FilterGraph&&)’:
../../src/lib/ffmpeg/Filter.hxx:156:8: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
156 | swap(graph, src.graph);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:156:19: error: ‘class Ffmpeg::FilterGraph’ has no member named ‘graph’
156 | swap(graph, src.graph);
| ^~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto& Ffmpeg::FilterGraph::operator*()’:
../../src/lib/ffmpeg/Filter.hxx:161:11: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
161 | return *graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘auto* Ffmpeg::FilterGraph::operator->()’:
../../src/lib/ffmpeg/Filter.hxx:165:10: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
165 | return graph;
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*, Ffmpeg::FilterInOut&&, Ffmpeg::FilterInOut&&)’:
../../src/lib/ffmpeg/Filter.hxx:171:38: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:172:18: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:172:31: error: ‘class Ffmpeg::FilterInOut’ has no member named ‘io’
172 | &inputs.io, &outputs.io,
| ^~
../../src/lib/ffmpeg/Filter.hxx:171:13: error: ‘avfilter_graph_parse_ptr’ was not declared in this scope
171 | int err = avfilter_graph_parse_ptr(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx: In member function ‘std::pair<Ffmpeg::FilterInOut, Ffmpeg::FilterInOut> Ffmpeg::FilterGraph::Parse(const char*)’:
../../src/lib/ffmpeg/Filter.hxx:181:3: error: ‘AVFilterInOut’ was not declared in this scope; did you mean ‘FilterInOut’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~~~~~~~
| FilterInOut
../../src/lib/ffmpeg/Filter.hxx:181:18: error: ‘inputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:181:27: error: ‘outputs’ was not declared in this scope; did you mean ‘puts’?
181 | AVFilterInOut *inputs, *outputs;
| ^~~~~~~
| puts
../../src/lib/ffmpeg/Filter.hxx:182:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:182:13: error: ‘avfilter_graph_parse2’ was not declared in this scope
182 | int err = avfilter_graph_parse2(graph, filters,
| ^~~~~~~~~~~~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:187:43: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:187:65: error: no matching function for call to ‘Ffmpeg::FilterInOut::FilterInOut(<brace-enclosed initializer list>)’
187 | return std::make_pair(FilterInOut{inputs}, FilterInOut{outputs});
| ^
../../src/lib/ffmpeg/Filter.hxx:58:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(Ffmpeg::FilterInOut&&)’
58 | FilterInOut(FilterInOut &&src) noexcept
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:58:2: note: conversion of argument 1 would be ill-formed:
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate: ‘Ffmpeg::FilterInOut::FilterInOut(const char*, AVFilterContext&)’
47 | FilterInOut(const char *name, AVFilterContext &context)
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:47:2: note: candidate expects 2 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate: ‘constexpr Ffmpeg::FilterInOut::FilterInOut()’
45 | FilterInOut() = default;
| ^~~~~~~~~~~
../../src/lib/ffmpeg/Filter.hxx:45:2: note: candidate expects 0 arguments, 1 provided
../../src/lib/ffmpeg/Filter.hxx: In member function ‘void Ffmpeg::FilterGraph::CheckAndConfigure()’:
../../src/lib/ffmpeg/Filter.hxx:191:35: error: ‘graph’ was not declared in this scope; did you mean ‘isgraph’?
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~
| isgraph
../../src/lib/ffmpeg/Filter.hxx:191:13: error: ‘avfilter_graph_config’ was not declared in this scope
191 | int err = avfilter_graph_config(graph, nullptr);
| ^~~~~~~~~~~~~~~~~~~~~
../../src/filter/plugins/HdcdFilterPlugin.cxx: In function ‘auto OpenHdcdFilter(AudioFormat&)’:
../../src/filter/plugins/HdcdFilterPlugin.cxx:47:14: error: use of ‘auto& Ffmpeg::FilterGraph::operator*()’ before deduction of ‘auto’
47 | *graph);
| ^~~~~
../../src/filter/plugins/HdcdFilterPlugin.cxx:49:65: error: use of ‘auto& Ffmpeg::FilterGraph::operator*()’ before deduction of ‘auto’
49 | auto buffer_sink = Ffmpeg::FilterContext::MakeAudioBufferSink(*graph);
| ^~~~~
../../src/filter/plugins/HdcdFilterPlugin.cxx:57:19: error: use of ‘auto* Ffmpeg::FilterInOut::get()’ before deduction of ‘auto’
57 | if (io.first.get() != nullptr)
| ^
../../src/filter/plugins/HdcdFilterPlugin.cxx:60:20: error: use of ‘auto* Ffmpeg::FilterInOut::get()’ before deduction of ‘auto’
60 | if (io.second.get() != nullptr)
| ^
../../src/filter/plugins/HdcdFilterPlugin.cxx: In member function ‘virtual std::unique_ptr<Filter> PreparedHdcdFilter::Open(AudioFormat&)’:
../../src/filter/plugins/HdcdFilterPlugin.cxx:86:24: error: could not convert ‘OpenHdcdFilter((* & audio_format))’ from ‘void’ to ‘std::unique_ptr<Filter>’
86 | return OpenHdcdFilter(audio_format);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
| |
| void
ninja: build stopped: subcommand failed.
What can i do ? The problem seems arround libavformat, libavcodec and libavutil. In the repo i have some "extra" version, when i switch between the two i get this error :
dpkg: libavcodec58:arm64: dependency problems, but removing anyway as you requested:
libchromaprint1:arm64 depends on libavcodec58 (>= 7:4.0).
libavformat58:arm64 depends on libavcodec58 (= 7:4.2.4-1ubuntu0.1).
libavfilter-extra7:arm64 depends on libavcodec58 (= 7:4.2.4-1ubuntu0.1).
libavdevice58:arm64 depends on libavcodec58 (= 7:4.2.4-1ubuntu0.1).
libavcodec-dev:arm64 depends on libavcodec58 (= 7:4.2.4-1ubuntu0.1).
ffmpeg depends on libavcodec58 (= 7:4.2.4-1ubuntu0.1).