Closed Martin2112 closed 2 years ago
What does "gcc -v" return? I compiled the code with gcc 8.3.0, 10.2.1 and clang 11.0.1 without seeing this error.
What happens if you add the
Maybe I need to regenerate the build scripts or something?
I don*t think it will help, but it won't hurt doing
# autogen.sh
# configure
again.
gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC)
Adding #include <optional.h>
to ffmpeg_transcoder.h seems to fix the problem.
gcc version 11.2.1 20220127 (Red Hat 11.2.1-9) (GCC)
Adding
#include <optional.h>
to ffmpeg_transcoder.h seems to fix the problem.
OK, this is newer than mine, probably that's the reason. I haven't included the header anywhere, so it should have never worked.
Anyway, I'll add the include. Thanks for the hint.
I've started seeing a bunch of errors like this:
Maybe I need to regenerate the build scripts or something?