Re: unknown symbol '_stdscr'
Re: unknown symbol '_stdscr'
- Subject: Re: unknown symbol '_stdscr'
- From: email@hidden
- Date: Sun, 09 Jul 2006 21:38:02 +0200
- Organization: http://freemail.web.de/
- Reveived: from web.de by fmmailgate07.web.de (Postfix) with SMTP id 9E77B1D9 for <email@hidden>; Sun, 9 Jul 2006 21:38:03 +0200 (CEST)
>Just drag the /usr/lib/libcurses.dylib file into your project. It will automatically add libcurses.dylib into
>the "Link Binary With Libraries" phase of your current target and this will solve your ZeroLink problem.
>This tip work for any library you want to link to by the way.
>In your case, you'll get another problem then which will be "Error opening terminal: unknown."
>The only solution I have found for now is to run the program from the Terminal.app instead of running
>it from Xcode. Unfortunately, I am unfamiliar with ncurses so I have no better proposal. I guess that
>this problem is closely related to the fact that the Run log of Xcode is not a real terminal.
>
>Cédric Luthi
This helped while Active Build Configuration was set to Debug. After switching to "Release" Xcode
responded with an error, the ncurses library seems to be PPC only. After removing i386 as target it compiled.
Now the problem is, that the ncurses library hasn't been included in the built application. I've already
turned on static linking. How can I make sure that my program runs on a Mac without Xcode installed?
Also I do wonder if it is appropriate to file those bugs / feature-requests to Apple:
- Xcode debugging isn't possible work when input/output goes to Terminal.app
- Xcode doesn't use curses library despite its including in the C source code header
- ncurses library is PPC only
Thanks!
_______________________________________________
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