ncurses compile-time problems
I'm pretty new to linux, and was trying to get into the programming side of it. Unfortunately, however, after downloading some source code and attempting to compile it, the program errored out complaining of a few things:
undefined reference to "stdscr"
undefined reference to "mvprintw"
undefined reference to "refresh"
There are more errors than those three, but I'd rather keep this short, so I've omitted them to save time. It's almost like the ncurses library isn't there. I made sure that #include<ncurses.h> was in the file I'm attempting to compile, and also that all the functions in my program were referenced in "ncurses.h".
Sample call : mvprintw(0,0,"%s","Hello, World!");
Any help would be greatly appreciated. Thank you!
|