简体   繁体   English

如何安装pdcurses

[英]How to install pdcurses

I have been trying to install pdcurses for a long while, so I decided to just finally ask it on stack overflow. 我已经尝试安装pdcurses了很长一段时间,所以我决定最终在堆栈溢出时询问它。

Computer: windows 7 电脑:Windows 7

Language: C 语言:C

Program: code::blocks 程序:code :: blocks

Compiler: MinGW: GNU GCC Compiler 编译器:MinGW:GNU GCC编译器

Library: PDCurses 3.4 库:PDCurses 3.4

Is there any step by step guide to install the PDCurses library? 是否有逐步指南来安装PDCurses库?

I have already tried using the console to make .a file, but I get an error after using the 我已经尝试过使用控制台制作.a文件,但是使用

"mingw32-make -f mingwin32.mak" command. "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.

Thanks in advance 提前致谢

It looks like mingwin32.mak has a problem with directories that have a space in them. 似乎mingwin32.mak的目录中有空格。 Try putting the lbrary in a directory without a space. 尝试将库放在没有空格的目录中。 – interjay –杰伊

Interjay's solution worked. Interjay的解决方案有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM