• 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
Newbie simple Xcode Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie simple Xcode Question


  • Subject: Newbie simple Xcode Question
  • From: Scott Buchanan <email@hidden>
  • Date: Sun, 7 Mar 2004 10:06:17 -0800

Hi,

I'm trying to re-compile some simple command-line calculation routines
I used on Solaris on OSX.  I thought I'd use Xcode and learn as I go.
I have a simple library and then some routines that call that library.
I created a Xcode project for 'BSD Library' and compiled the library
creating libnr.a seemly just fine.  I then created a simple Xcode
project called 'fit_exp' whose 'main' calls the routines in nr.  I used
the the 'standard tool' template and edited main.c as needed.

If I put the source code from the library directly in the fit_exp
project everything works great.  If instead I put the library libnr.a
it doen't seem to link.  The library routines are reported as missing.

ld: Undefined symbols:
_dmatrix
_free_dmatrix
_mrqmin


libnr.a is compiled as a static library.  I've looked all over the
Xcode menus and help for the linker flags and where to change them and
am lost.

I could do this command line but I'd like to understand the Xcode for
this.  Unfortunately I can't find any example this simple :&)

Thanks in advance for any help.



Scott Buchanan
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Newbie simple Xcode Question
      • From: Brent Gulanowski <email@hidden>
References: 
 >ZeroLink duplicate symbol warnings (From: Erik Stein <email@hidden>)

  • Prev by Date: ZeroLink duplicate symbol warnings
  • Next by Date: Re: Newbie simple Xcode Question
  • Previous by thread: ZeroLink duplicate symbol warnings
  • Next by thread: Re: Newbie simple Xcode Question
  • Index(es):
    • Date
    • Thread