0_0_18938330_19648.cpp: In function 'void fft(std::vector<std::complex<double> >&, bool)': 0_0_18938330_19648.cpp:20:24: error: 'M_PI' was not declared in this scope double ang = 2*M_PI/len*(invert?-1:1); ^