How does one use curses.h? I may have system problems with it.

2008-05-20 Thread David Chmelik
I have some problems with curses.h or ncurses.h. When I make a program including either and use its functions and compile with g++ I get these sort of errors: tir.cxx:(.text+0x179e): undefined reference to `wmove', tir.cxx:(.text+0x17af): undefined reference to `stdscr' (I did not use stdscr

Re: How does one use curses.h? it works better now

2008-05-20 Thread David Chmelik
Lionel B wrote: Yes; these error messages are not from the compile, but from the link phase, and probably mean that you have not linked in the library containing the actual code for the functions referenced. So to link code for ncurses, you will probably have to specify -lncurses somewhere on