[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 编译程序提示: undefined reference to 'initscr'...



编译的时候要连接curses库,使用-curses选项
如:gcc foo.c -o foo -lcurses
On Fri, Apr 01, 2005 at 05:57:13AM +0800, comlord wrote:
>已经在引用头文件中引用ncurses.h,但使用所有ncurses的所有函数都是提示undefined
>reference 函数名.求助大家.
>
>
>-- 
>To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
>with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>



Reply to: