如何安装 pdcurses

How to install pdcurses

我已经尝试安装 pdcurses 很长时间了,所以我决定最后在堆栈溢出时询问它。

计算机:windows7

语言:C

程序:code::blocks

编译器:MinGW:GNU GCC 编译器

库:PDCurses 3.4

是否有安装 PDCurses 库的分步指南?

我已经尝试过使用控制台制作.a文件,但在使用

后出现错误

"mingw32-make -f mingwin32.mak"命令。

C:\Program Files (x86)\CodeBlocks\pdcurs34\win32>mingw32-make -f mingwin32.mak
mingwin32.mak:14: C:\Program: No such file or directory
mingwin32.mak:14: Files: No such file or directory
mingwin32.mak:14: (x86)\CodeBlocks\pdcurs34/version.mif: No such file or directo
ry
mingwin32.mak:15: C:\Program: No such file or directory
mingwin32.mak:15: Files: No such file or directory
mingwin32.mak:15: (x86)\CodeBlocks\pdcurs34/libobjs.mif: No such file or directo
ry
mingwin32.mak:121: C:\Program: No such file or directory
mingwin32.mak:121: Files: No such file or directory
mingwin32.mak:121: (x86)\CodeBlocks\pdcurs34/makedist.mif: No such file or direc
tory
mingw32-make: *** No rule to make target '(x86)\CodeBlocks\pdcurs34/makedist.mif
'.  Stop.

提前致谢

It looks like mingwin32.mak has a problem with directories that have a space in them. Try putting the lbrary in a directory without a space. – interjay

Interjay 的解决方案奏效了。