there are some errors in udpcdialog, can u help me?
In file included from udpcdialog//cursWrap.c:18: udpcdialog//dialog.h:32:20: error: curses.h: No such file or directory In file included from udpcdialog//cursWrap.c:18: udpcdialog//dialog.h:124: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'use_colors' udpcdialog//dialog.h:125: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'use_shadow' udpcdialog//dialog.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'attributes' udpcdialog//dialog.h:141: error: expected ')' before '*' token udpcdialog//dialog.h:145: error: expected ')' before '*' token udpcdialog//dialog.h:146: error: expected ')' before '*' token udpcdialog//dialog.h:147: error: expected ')' before '*' token udpcdialog//dialog.h:150: error: expected ')' before '*' token udpcdialog//cursWrap.c: In function 'udpc_clearScreen': udpcdialog//cursWrap.c:21: warning: implicit declaration of function 'attr_clear' udpcdialog//cursWrap.c:21: error: 'stdscr' undeclared (first use in this function) udpcdialog//cursWrap.c:21: error: (Each undeclared identifier is reported only once udpcdialog//cursWrap.c:21: error: for each function it appears in.) udpcdialog//cursWrap.c:21: error: 'LINES' undeclared (first use in this function) udpcdialog//cursWrap.c:21: error: 'COLS' undeclared (first use in this function) udpcdialog//cursWrap.c:21: error: 'attributes' undeclared (first use in this function) udpcdialog//cursWrap.c:22: warning: implicit declaration of function 'move' udpcdialog//cursWrap.c:23: warning: implicit declaration of function 'refresh' make[1]: *** [udpcdialog//cursWrap.o] Error 1 make: *** [udpcdialog/] Error 2
javier.chen wrote:
In file included from udpcdialog//cursWrap.c:18: udpcdialog//dialog.h:32:20: error: curses.h: No such file or directory ^^^^^^^^ You need to have the headers for curses or ncurses installed. (In Kubuntu, this is in package libncurses5-dev)
Regards, Alain
participants (2)
-
Alain Knaff -
javier.chen