错误2系统无法找到文件中的文本崇高2中规定,Windows 8的 [英] Error 2 The system cannot find the file specified in Sublime Text 2, Windows 8

查看:129
本文介绍了错误2系统无法找到文件中的文本崇高2中规定,Windows 8的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚装崇高文本2,尝试建立的Hello World程序,并得到这个消息:

Just installed Sublime Text 2, try to build hello world program, and get this message:

[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正确编译的程序?

What do I need to do to compile a program correctly in ST2?

推荐答案

解决。崇高的文本2的需求G ++,庆典等以编译。 (?)这些文件需要安装在你的电脑,按照此页面上的说明:

Solved. Sublime Text 2 needs g++, bash, etc in order to compile. These files (?) need to be installed in your computer, as per the instructions on this page:

http://www.claremontmckenna.edu/pages/faculty/ ALEE / G ++ / G ++,HTML

请确保您将文件保存你的工作,在那里曾经构建和运行之前,你的驱动器上。

Make sure you save the file you're working on, where ever on your drive before building and running.

这篇关于错误2系统无法找到文件中的文本崇高2中规定,Windows 8的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆