【问题标题】:Installed Cygwin64 and cannot find unresolved inclusion in <iostream> when in eclipse安装了 Cygwin64 并且在 eclipse 中找不到未解决的包含在 <iostream> 中
【发布时间】:2023-03-23 05:19:01
【问题描述】:

我尽可能多地链接到我能找到的库,但我仍然在 Eclipse 中得到一个未解决的包含 &lt;iostream&gt;。我什至在 c:\cygwin\ 目录中搜索 iostream,但找不到它。那么,如何在 cygwin64 安装中找到这个基础库呢?

【问题讨论】:

    标签: c++ cygwin iostream


    【解决方案1】:

    Cygwin 的默认安装非常小。特别是,它不包括软件开发工具。

    重新运行 Cygwin setup.exe 程序并将 gcc-g++ 添加到您的系统中。 (它位于 Select Packages 屏幕上的 Devel 类别中。)这将添加 C++ 编译器和标准 C++ 库。

    【讨论】:

      猜你喜欢
      • 2014-06-04
      • 1970-01-01
      • 1970-01-01
      • 2014-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多