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
Related videos on Youtube
Author by
CluelessNoob
Updated on September 18, 2022Comments
-
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
withsudo apt-get install libfftw3-3
andlibsndfile
withsudo apt-get install libsndfile1
. But this problem remains. How can I fix it?-
Panther over 8 yearsYou need to install the headers, they are in the development packages (marked -dev). See askubuntu.com/questions/232200/… and help.ubuntu.com/community/CompilingSoftware and packages.ubuntu.com/trusty/libfftw3-dev
-