c - Header files for fftw missing? -


i installed new system , of libraries on it. however, have problems fftw. after cmake command following error

cmake error @ /usr/share/cmake/modules/findpackagehandlestandardargs.cmake:138 (message): not find fftw (missing: fftw_libraries fftw_includes)

i can find fftw libraries (/usr/lib64/), can't find header files fftw located. how can find them? also, other header files: safe put symbolic link in /usr/includes/ instead of giving full path in .c code?

you can use unix command locate determine location of fftw header files

$ locate fftw3.h /usr/local/include/fftw3.h 

if install fftw 3 source header file fftw3.h should placed in /usr/local/include/ default.

the fftw header files fftw 2 contained in package fftw-dev , fftw 3 contained in package libfftw3-dev.


the /usr/local directory intended contain all user binaries, documentation, libraries, header files, etc.... ok symlink library files in there, providing correctly.


Comments