Linking Libraries in Xcode

Posted by Dan on Stack Overflow See other posts from Stack Overflow or by Dan
Published on 2009-01-15T05:58:10Z Indexed on 2010/06/08 9:02 UTC
Read the original article Hit count: 291

Filed under:
|
|
|

Hey all,

I'm using a powerbook (osx 10.5) and recently downloaded and installed FFTW 3.2 (link text). 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

thanks for any help

© Stack Overflow or respective owner

Related posts about c++

Related posts about xcode