[Slackbuilds-users] Chromaprint 1.4.3 fails to build with optionnal ffmpeg 3.2.4

Matteo Bernardini matteo.bernardini at gmail.com
Fri Mar 23 09:17:22 UTC 2018


2018-03-23 9:46 GMT+01:00 Brian <slackware at lemintown.eu>:
> Sure, here's the full log: https://pastebin.com/0DvNhfCq

I had a look at it: the errors seems to be these

In file included from /tmp/SBo/chromaprint-v1.4.3/src/cmd/fpcalc.cpp:7:0:
/tmp/SBo/chromaprint-v1.4.3/src/audio/ffmpeg_audio_reader.h:194:27:
error: ‘avcodec_alloc_frame’ was not declared in this scope
  m_frame = av_frame_alloc();
                           ^
In file included from /tmp/SBo/chromaprint-v1.4.3/src/cmd/fpcalc.cpp:7:0:
/tmp/SBo/chromaprint-v1.4.3/src/audio/ffmpeg_audio_reader.h: In member
function ‘void chromaprint::FFmpegAudioReader::Close()’:
/tmp/SBo/chromaprint-v1.4.3/src/audio/ffmpeg_audio_reader.h:232:24:
error: ‘avcodec_free_frame’ was not declared in this scope
  av_frame_free(&m_frame);
                        ^

and that's strange, because I have ffmpeg-3.2.4 from SBo too installed
and I don't have those errors:
- are you sure you got that and not some other version?
- is anybody else experiencing the same errors as Brian building
chromaprint with ffmpeg installed?

Matteo


More information about the SlackBuilds-users mailing list