官网:http://invisible-island.net/ncurses/
MinGW Port
Beginning with ncurses 5.8, ncurses has been ported to Win32 console using MinGW. I have built it both on Windows7 as well as via cross-compiling from FreeBSD, Fedora and Debian. From the latter, I make occasional builds which you may find useful:
32-bit
64-bit
教学以及示例
Programmer's Guide to NCurses
Ncurses Example Source Code
ncurses 命令行终端 UI 库
-
- 渐入佳境
- 帖子: 41
- 注册时间: 2017年12月25日 11:12
- 拥有现金: 锁定
- 储蓄: 锁定
- Has thanked: 49 times
- Been thanked: 2 times
- 联系:
- 523066680
- Administrator
- 帖子: 422
- 注册时间: 2016年07月19日 12:14
- 拥有现金: 锁定
- 储蓄: 锁定
- Has thanked: 41 times
- Been thanked: 64 times
- 联系:
Re: ncurses 命令行终端 UI 库
zzz19760225 写了:WIN10下的32那个
好像没找到有exe的文件
因为这个是“库”,你需要借用这个库,编译示例程序后才有exe文件
附上编译示例
编译脚本compile.bat:
@echo off
set PATH=D:\tdm-gcc-32\bin;%PATH%
for %%a in (*.c) do (
echo %%a
call :func %%a
)
pause
exit
:func
gcc "%1" -o "%~n1" ^
-ID:/Lib/ncurses_mingw32/include/ncursesw ^
-ID:/Lib/ncurses_mingw32/include ^
-LD:/Lib/ncurses_mingw32/lib -lncursesw
环境:
tdmgcc32 安装在 D:\tdm-gcc-32
ncurses32位 库文件解压到 D:/Lib/ncurses_mingw32/
您没有权限查看这个主题的附件。
在线用户
用户浏览此论坛: 没有注册用户 和 0 访客