building VCV recoder fails


building VCV-recorder on Ubuntu 23.10 fails:

g++ -std=c++11 -Wsuggest-override  -Idep/include -fPIC -I../../include -I../../dep/include -fno-gnu-unique -MMD -MP -g -O3 -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_X64 -march=nehalem -DARCH_LIN  -c -o build/src/Recorder.cpp.o src/Recorder.cpp
src/Recorder.cpp: In member function ‘void Encoder::open(std::string, std::string, int, int, int, int, int, int)’:
src/Recorder.cpp:189:58: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  189 |                 audioCodec = avcodec_find_encoder_by_name(audioEncoderName.c_str());
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                          |
      |                                                          const AVCodec*
src/Recorder.cpp:203:27: warning: ‘AVCodecContext::channels’ is deprecated [-Wdeprecated-declarations]
  203 |                 audioCtx->channels = channels;
      |                           ^~~~~~~~

seems like there’s been an update to avcodec? Anything wrong on my side or is this a bug?

took a while :slight_smile: . problem solved here