• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Linking external libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking external libraries


  • Subject: Linking external libraries
  • From: Michael Mulligan <email@hidden>
  • Date: Sat, 11 Dec 2004 23:15:59 -0500

This is kind of a silly question, but I just can't get the darn thing to work and must be searching for the wrong thing in Google. I wrote a simple test program (fftwTest.c) to ensure I knew how to use FFTW correctly. I was able to build this using:

% gcc -lm -lfftw3 fftwTest.c

I then implemented what I needed in my xCode project, but now I don't have a clue how to make things link properly. I thought I could just click on my project (in the left), get info->Styles and add "fftw3" to Header Search Paths (I also did this for the active target). When I run my program though and attempt to run the FFTW-based code, surprise!

ZeroLink: unknown symbol '_fftw_malloc'

Any suggestions to get the linking to work? Thanks in advance for any assistance

                            -Mike

__________
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
__________


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Linking external libraries
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Adding controls to an NSScrollView in Interface Builder
  • Next by Date: Re: Adding controls to an NSScrollView in Interface Builder
  • Previous by thread: Re: Adding controls to an NSScrollView in Interface Builder
  • Next by thread: Re: Linking external libraries
  • Index(es):
    • Date
    • Thread