Sorry for the title, couldn't think of a better one,
anyway my problem is that when I run this program :
I this happens:
I use Mac OS 10.3 compiled with GCC 3 (using Xcode as a comand line tool) and it compile with out warnings or errors , I'm really confussed since I never had this happen when I made programs with ncurses for my linux.
anyway my problem is that when I run this program :
Code:
#include <stdio.h>
#include <ncurses.h>
#include <time.h>
#include <string.h>
#include <stdlib.h>
int main (void) {
initscr ();
endwin ();
return 0;
}
I this happens:
Code:
ZeroLink: unknown symbol '_initscr'
testncurses has exited due to signal 6 (SIGABRT).
I use Mac OS 10.3 compiled with GCC 3 (using Xcode as a comand line tool) and it compile with out warnings or errors , I'm really confussed since I never had this happen when I made programs with ncurses for my linux.