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

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



建议你先把 Debian 的一些基本问题弄清楚,这种问题 google 两分钟就应该解决的。

On Fri, Apr 01, 2005 at 05:57:13AM +0800, comlord wrote:
> 已经在引用头文件中引用ncurses.h,但使用所有ncurses的所有函数都是提示undefined
> reference 函数名.求助大家.

$ aptitude show libncurses5-dev
Package: libncurses5-dev
State: not installed
Version: 5.4-4
Priority: optional
Section: libdevel
Maintainer: Daniel Jacobowitz <ncurses-maint@debian.org>
Uncompressed Size: 5296k
Depends: libncurses5 (= 5.4-4), libc-dev
Conflicts: ncurses-dev, ncurses-developer, libncurses-dev
Replaces: ncurses-dev, ncurses-developer, libncurses-dev
Provides: ncurses-dev, libncurses-dev
Description: Developer's libraries and docs for ncurses
 This package contains the header files, static libraries and symbolic links
 that developers using ncurses will need. It also includes the libraries' man
 pages and other documentation.

Ming
2005.03.31



Reply to: