Help with compiling the code
rithikmali opened this issue · 0 comments
Hi,
I'm trying to compile the code but I'm not sure how to set the fft macros. Can you help me with this?
Here's my makefile. Adding "-DUSE_KISS_FFT" to the flags didn't help
`
LDFLAGS = -lgsl -lgslcblas -lm -lsndfile -DUSE_KISS_FFT
a: test.o inference.o
g++ test.o inference.o -o a $(LDFLAGS)
test.o: test.cpp inference.hpp
g++ -c test.cpp inference.hpp
inference.o: inference.cpp inference.hpp
g++ -c inference.cpp inference.hpp
clean:
-rm -f test.o inference.o inference.h.gch
`
Here's the error:
Gist/src/Gist.h:56:2: error: #error "You must define one FFT macro to ensure you select a FFT implementation - either USE_FFTW, USE_KISS_FFT or USE_ACCELERATE_FFT. You have either not defined one of these macros or you have defined more than one of them." 56 | #error "You must define one FFT macro to ensure you select a FFT implementation - either USE_FFTW, USE_KISS_FFT or USE_ACCELERATE_FFT. You have either not defined one of these macros or you have defined more than one of them." | ^~~~~ make: *** [makefile:7: test.o] Error 1