Posted on 2012-12-29 10:56
鑫龍 閱讀(374)
評論(0) 編輯 收藏 引用 所屬分類:
linux編程
檢查是否已經安裝以下的輔助軟件包 [root@localhost ~]# rpm -q ncurses
ncurses-5.5-24. [root@localhost ~]# rpm -q ncurses-devel
package ncurses-devel is not installed 提示ncurses-devel沒有安裝,用yum安裝: [root@localhost ~]# yum install ncurses-devel
Setting up Install Process Total download size: 1.6 M Is this ok [y/N]: y
Downloading Packages: Installed: ncurses-devel.i386 0:5.5-24. Complete! 鏈接要加上ncurses庫, cc -l ncurses xxxx.c
轉自:
http://blog.csdn.net/xumaojun/article/details/6229789