【问题标题】:Error 2 The system cannot find the file specified in Sublime Text 2, Windows 8错误 2 系统找不到 Sublime Text 2 中指定的文件,Windows 8
【发布时间】:2012-10-20 05:06:14
【问题描述】:

刚安装了Sublime Text 2,尝试构建hello world程序,得到这个消息:

[Error 2] The system cannot find the file specified
[cmd:  [u'g++', u'', u'-o', u'/']]
[dir:  C:\Windows\system32]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\]
[Finished]

我需要做什么才能在 ST2 中正确编译程序?

【问题讨论】:

标签: build compiler-errors sublimetext2


【解决方案1】:

解决了。 Sublime Text 2 需要 g++、bash 等才能编译。这些文件 (?) 需要按照此页面上的说明安装在您的计算机中:

http://www.claremontmckenna.edu/pages/faculty/alee/g++/g++.html

确保在构建和运行之前将正在处理的文件保存在驱动器上的任何位置。

【讨论】:

    猜你喜欢
    • 2012-06-11
    • 2012-10-06
    • 1970-01-01
    • 1970-01-01
    • 2020-05-05
    • 2023-03-13
    • 2011-07-16
    • 1970-01-01
    • 2015-07-28
    相关资源
    最近更新 更多