Package was not found in the pkg-config search path

16,400

The missing file fftw3.h is in the package libfftw3-dev, therefore

sudo apt-get install libfftw3-dev

And install libsndfile1 via

sudo apt-get install libsndfile1-dev
Share:
16,400

Related videos on Youtube

CluelessNoob
Author by

CluelessNoob

Updated on September 18, 2022

Comments

  • CluelessNoob
    CluelessNoob almost 2 years

    I am trying to install WaoN. When I run sudo make -f Makefile.waon it gives me the following errors:

    gcc -Wall -march=pentium -O3 -ffast-math `pkg-config --cflags fftw3` `pkg-config --cflags sndfile`   -c -o main.o main.c
    Package fftw3 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `fftw3.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'fftw3' found
    Package sndfile was not found in the pkg-config search path.
    Perhaps you should add the directory containing `sndfile.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'sndfile' found
    main.c:31:19: fatal error: fftw3.h: No such file or directory
     #include <fftw3.h>
                       ^
    compilation terminated.
    make: *** [main.o] Error 1
    

    I installed FFTW3 with sudo apt-get install libfftw3-3 and libsndfile with sudo apt-get install libsndfile1. But this problem remains. How can I fix it?