Newbie simple Xcode Question
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.