I'm using a powerbook (osx 10.5) and recently downloaded and installed FFTW 3.2 ([link text](http://www.fftw.org/fftw2_doc/fftw_2.html)). I've been able to compile and run some simple programs based on the online tutorial using the terminal:

```
g++ main.cpp -lfftw3 -lm

```

However, I can't get the same program to compile in Xcode. I get a linking error, "symbol(s) not found". There is a file called libfftw3.a in /usr/local/lib. How can this be linked? Furthermore, apparently the libraries have to be linked in a particular order, i.e. see: [link text](http://www.fftw.org/faq/section3.html#linkfails)

thanks for any help