Menu

#1751 Error compilation with codecs (ffmpeg)

v3.6
closed-out-of-date
nobody
None
Linux
2023-03-26
2022-06-29
rm beer
No

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

Discussion

  • gpz

    gpz - 2022-06-29

    please post the configure log - it should have told you that it needs ffmpeg4 (assuming that is the problem)

     
  • Pontus Berg

    Pontus Berg - 2022-11-03

    I got it working eventually, so I guess this could be closed.

     
  • gpz

    gpz - 2023-03-26
    • status: open --> closed-out-of-date
     

Log in to post a comment.