我正在尝试安装 chromaprint,但出现 CMake 错误。
我不知道如何解决它。
错误:
root@matrix [~/chromaprint-0.6]# cmake -DWITH_FFTW3=ON .
-- Using FFTW3 for FFT calculations
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FFMPEG_LIBAVCODEC_INCLUDE_DIRS
used as include directory in directory /root/chromaprint-0.6/examples
FFMPEG_LIBAVCODEC_LIBRARIES
linked by target "fpcalc" in directory /root/chromaprint-0.6/examples
FFMPEG_LIBAVFORMAT_INCLUDE_DIRS
used as include directory in directory /root/chromaprint-0.6/examples
FFMPEG_LIBAVFORMAT_LIBRARIES
linked by target "fpcalc" in directory /root/chromaprint-0.6/examples
FFMPEG_LIBAVUTIL_INCLUDE_DIRS
used as include directory in directory /root/chromaprint-0.6/examples
FFMPEG_LIBAVUTIL_LIBRARIES
linked by target "fpcalc" in directory /root/chromaprint-0.6/examples
-- Configuring incomplete, errors occurred!
root@matrix [~/chromaprint-0.6]#
安装
ffmpeg-devel
:然后再试一次: