c++ - 无法在 netbeans windows 上编译 c 代码

标签 c++ netbeans cygwin

我无法在 netbeans 中编译 C 代码,出现以下错误。

Cannot run program "C:\cygwin64\bin\makeinfo" (in directory "C:\Users\prjwl\Documents\NetBeansProjects\Hearts"): CreateProcess error=5, Access is denied

我遵循了 netbeans 安装指南,并且 cygwin 似乎可以从命令行运行。

我还检查了缺少的 dll,并检查了“工具”->“选项”->“C++”中的设置,以查看构建工具是否设置正确 Snapshot of the configuration

如果有人知道我到底做错了什么,请帮助我

最佳答案

makeinfo 不是 C 编译过程的一部分,它是一个文档生成器,通常与 GNU autools 结合使用。

您应该能够通过安装 texinfo Cygwin 软件包来安装它。

请注意,到目前为止,makeinfo 并不是 make。如果您需要 make,请同时安装 Cygwin 软件包,并将“Make Command”设置为 C:\cygwin64\bin\make.exe (根据您的情况)。

关于c++ - 无法在 netbeans windows 上编译 c 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23294368/

相关文章:

c++ - 为一个类编写单元测试

python-2.7 - python-magic Windows错误: access violation writing 0x00000000

linux - C程序转换到Windows后显示%zu

java - 组织.hibernate.HibernateException : get is not valid without active transaction

windows - Cygwin 中的 Python 3.x?

c++ - 参数化警告消除宏问题

C++ 帮助从字符串中设置 setf floatfield

c++ - 使用 Ragel 和 C++ 编译错误

java - IntelliJ Idea和Netbeans如何构建java项目?

java - 使用 Selelnium 时出现错误