wullm / monofonic

GNU General Public License v3.0
5 stars 2 forks source link

make problem on fftw3 #3

Open RichardFury opened 1 year ago

RichardFury commented 1 year ago

I am trying to install it, ccmake is ok and I also give the FFTW3_ROOT, but when I try to make, it fails:

monofonic/build/_deps/fastdf-src/src/../include/fft.h:27:10: fatal error: fftw3.h: No such file or directory

include

      ^~~~~~~~~

compilation terminated. make[2]: [_deps/fastdf-build/CMakeFiles/fastdf_static.dir/build.make:121: _deps/fastdf-build/CMakeFiles/fastdf_static.dir/src/fastdf.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:357: _deps/fastdf-build/CMakeFiles/fastdf_static.dir/all] Error 2 make: *** [Makefile:103: all] Error 2

How can I fix it?

wullm commented 1 year ago

Hi Richard, you're saying that cmake recognizes the FFTW installation? Could you check whether regular monofonIC (without neutrinos) compiles correctly? That version can be found here: https://bitbucket.org/ohahn/monofonic/

tianninglyu commented 8 months ago

Please try to add your path to FFTW into your environment, and it can work correctly. At least it works for me.