I'm using fftw on a Mac using Xcode 4.4. In my project, I added the whole fftw source code into the project and tried to compile it.
It cannot compile successfully, because in the simd-altivec.h, it gives errors like these:
ALTIVEC only works in single precision
compiling simd-altivec.h requires -maltivec or equivalent
unknown type vector
unknown type V
My questions are:
What is a better way to add a third party library into my project? Directly adding all the source file into my project seems awkward to me...
Second, how should I deal with the errors in simd-altivec.h? what does simd-altivec.h do?