一个有梦想的AI. 2023-01-12 16:51 采纳率: 0%
浏览 382

Goland软件出现 ignored by the build tool because of the OS mismatch

Goland软件出现 ignored by the build tool because of the OS mismatch
操作环境 win10 软件版本goland2022.3
尝试了多种结果无效
  • 写回答

1条回答 默认 最新

  • m0_54204465 2023-01-15 10:46
    关注

    这个错误提示表明你正在使用 Windows 系统上的 Goland 软件,而你的代码可能是为其他操作系统编写的。

    解决这个问题的一个办法是使用跨平台的编译工具,例如 GCC 或者 Mingw,来编译你的代码。这样可以确保代码能在 Windows 系统上运行。

    另外,也可以考虑使用虚拟机或者容器来运行你的代码,这样就可以在 Windows 系统上运行其他操作系统的代码。

    如果你想在win下编译linux/mac 代码,可以使用mingw-w64或者cygwin来解决。

    评论

报告相同问题?

问题事件

  • 创建了问题 1月12日