编译C++。它显示致命错误:找不到目录。也没有为CPP文件形成Exe

发布于 2025-02-13 08:28:19 字数 138 浏览 0 评论 0原文

在按下运行按钮时,它向我显示了这个错误。 作为初学者,我不知道下一步该怎么办。

On pressing the run button it is showing me this error.
As a beginner, I have no idea what should I do next.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼眸 2025-02-20 08:28:20

您的MINGW-W64设置似乎被打破了。

您可以通过从

如果仍然不起作用,请检查系统的路径环境变量。它可能指出,在错误的位置,GCC的依赖关系(DLL)的不同位置。

Your MinGW-w64 setup seems to be broken.

You can test this without touching your MSYS2 folder by extracting a standalone MinGW-w64 from https://winlibs.com/ to a different location and point your VSCode to that.

If that still doesn't work, check your system's PATH environment variable. It may be pointing to a different location picking up dependencies (DLLs) for GCC in the wrong place.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文