O pacote não foi encontrado no caminho de pesquisa do pkg-config

1

Estou tentando instalar o WaoN . Quando eu executo sudo make -f Makefile.waon , isso me causa os seguintes erros:

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

Eu instalei FFTW3 com sudo apt-get install libfftw3-3 e libsndfile com sudo apt-get install libsndfile1 . Mas esse problema permanece. Como posso consertar isso?

    
por CluelessNoob 30.09.2015 / 16:30

1 resposta

2

O arquivo em falta fftw3.h está no pacote libfftw3-dev , portanto

sudo apt-get install libfftw3-dev

E instale libsndfile1 via

sudo apt-get install libsndfile1-dev
    
por A.B. 30.09.2015 / 17:05