clangen / musikcube

a cross-platform, terminal-based music player, audio engine, metadata indexer, and server in c++
https://musikcube.com
BSD 3-Clause "New" or "Revised" License
4.08k stars 295 forks source link

Error when compiling with make on OpenSUSE Tumbleweed #663

Open miguell0 opened 4 months ago

miguell0 commented 4 months ago

/home/miko/musikcube/src/plugins/ffmpegdecoder/plugin.cpp: In constructor ‘FfmpegDecoderFactory::FfmpegDecoderFactory()’:
/home/miko/musikcube/src/plugins/ffmpegdecoder/plugin.cpp:120:29: error: ‘av_codec_iterate’ was not declared in this scope; did you mean ‘av_codec_next’?
  120 |             while ((codec = av_codec_iterate(&iterator))) {
      |                             ^~~~~~~~~~~~~~~~
      |                             av_codec_next
make[2]: *** [src/plugins/ffmpegdecoder/CMakeFiles/ffmpegdecoder.dir/build.make:76: src/plugins/ffmpegdecoder/CMakeFiles/ffmpegdecoder.dir/plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:777: src/plugins/ffmpegdecoder/CMakeFiles/ffmpegdecoder.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Compiling on a fresh, minimal install of OpenSUSE Tumbleweed (along with cinnamon desktop and some configurations intalled in the meantime). All of the listed dependencies are installed before compiling, and git clone was recursive.

Let me know if i need to add more info to the report.