Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to install chromaprint and I am getting from CMake Error.

I can't figure out how to fix it.

Error:

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]#
share|improve this question

1 Answer 1

up vote 1 down vote accepted

Install ffmpeg-devel:

# rpm -qa | grep ffmpeg
ffmpeg-libpostproc-0.6.5-1.el5.rf
ffmpeg-devel-0.6.5-1.el5.rf
ffmpeg-0.6.5-1.el5.rf

and try again:

# cmake -DWITH_FFTW3=ON .
-- Using FFTW3 for FFT calculations
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/chromaprint-0.6
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.