我可以构建C++文件了

发布于 2025-01-22 12:20:09 字数 134 浏览 4 评论 0 原文

我想我删除了一些我不应该的文件,现在,当我尝试在崇高的文本中构建文件时,它说“ g ++丢失了”,在vs代码中,它说“ #include错误检测到了。请更新您的IncludePath ...”和“无法开源文件“ iostream'...”。我该如何解决?

I think i deleted some files i shouldn't and now when i try to build files in Sublime Text it says "g++ is missing" and in VS Code it says "#include errors detected. Please update your includePath..." and "cannot open source file 'iostream'...". How can i fix this?

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

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

发布评论

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

评论(1

埖埖迣鎅 2025-01-29 12:20:09

如果您打破了安装,则需要重新安装破裂的内容。

如果您只需要GCC工具链并且不想要安装的Hastle,则可以从并将其提取到文件夹中。

如果对单独的文件夹这样做,则可以将现有的安装不变,但是您需要将VS代码设置指向其中。

If you broke your installation, you need to reinstall what you broke.

If you just need a GCC toolchain and don't want the hastle of installing, you could get a standalone build from https://winlibs.com/ and extract it to a folder.

If you do this to a separate folder you can leave your existing installation untouched, but you will need to point the VS Code settings to it.

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