Error compilation with codecs (ffmpeg)
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Steps of commands:
./configure --enable-external-ffmpeg --enable-ethernet --enable-cmake --enable-debug --disable-pdf-docs
cmake .. -DCMAKE_BUILD_TYPE=Debug
LANG=C make
Output:
In file included from /XXX/vice-3.6.1/src/gfxoutputdrv/ffmpegdrv.c:42:
/XXX/vice-3.6.1/src/gfxoutputdrv/ffmpeglib.h:89:31: error: unknown type name 'AVCodecContext'; did you mean 'AVIODirContext'?
89 | typedef int(*avcodec_open2_t)(AVCodecContext*, AVCodec*, AVDictionary **);
| ^~~~~~~~~~~~~~
| AVIODirContext
please post the configure log - it should have told you that it needs ffmpeg4 (assuming that is the problem)
I got it working eventually, so I guess this could be closed.