unknown symbol '_stdscr'
unknown symbol '_stdscr'
- Subject: unknown symbol '_stdscr'
- From: email@hidden
- Date: Fri, 07 Jul 2006 19:30:56 +0200
- Organization: http://freemail.web.de/
- Reveived: from web.de by fmmailgate07.web.de (Postfix) with SMTP id D40A931E for <email@hidden>; Fri, 7 Jul 2006 19:30:56 +0200 (CEST)
Hello,
when I try to compile this C-code for the Terminal in Xcode, I get this error:
ZeroLink: unknown symbol '_stdscr' hello has exited due to signal 6 (SIGABRT).
What's wrong? I've even added the compiler flag -lcurses to my hello.c.
#include <curses.h>
int main (int argc, const char * argv[])
{
initscr();
printw("Hello World !!!");
refresh();
getch();
endwin();
return 0;
}
Google results showed some other people with this problem; the only solution
seems to be compiling in the command line. But how can I solve this in Xcode?
Thanks!
Oliver
_______________________________________________
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