Re: XCode and ncurses
Re: XCode and ncurses
- Subject: Re: XCode and ncurses
- From: Damien Bobillot <email@hidden>
- Date: Tue, 3 Jan 2006 20:10:05 +0100
Chinh Nguyen wrote :
I've got a console version of my GUI app that requires I link with
ncurses. I'm using XCode 2.2 so I'm compiling in Tiger. However,
my executable linked against the version of ncurses on Tiger
(libncurses.5.4.dylib) does not run on pre-Tiger machines. I think
no problem, I'll just explicitly link to /usr/lib/libncurses.
5.dylib. That still doesn't work. The linker in XCode still
insists on linking against libncurses.5.4.dylib. I temporarily
renamed the older version to the newer version thinking perhaps it
was hardcoded but XCode failed to link (as well as causing other
problems).
Why does XCode 2.2 insist on linking libncurses.5.4.dylib even when
I specify the older version?
If you want your program to work on previous system versions, you
have to change the target SDK to another Mac OS X version (default is
tiger) in the project general information. Your program will be
linked against old libraries available on the chosen system version.
--
Damien Bobillot
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden