Sublime Forum

Can't run c++ in sublime?

#1

Hello, I was try to run a simple c++ code in sublime. when I hit “build”, it said “finished in 0.7s”; however, when I clicked on the run button, it returned
** “[Error 2] The system cannot find the file specified
[cmd: [u’bash’, u’-c’, u"g++ ‘C:\\Users\\Danny Wang\\Desktop\\Study\\Programming\\Internet C++ problems\\1.1.cpp’ -o ‘C:\\Users\\Danny Wang\\Desktop\\Study\\Programming\\Internet C++ problems/1.1’ && ‘C:\\Users\\Danny Wang\\Desktop\\Study\\Programming\\Internet C++ problems/1.1’”]]
[dir: C:\Users\Danny Wang\Desktop\Study\Programming\Internet C++ problems]
[path: C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Autodesk\Backburner;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program Files\Perforce;C:\Program Files\Perforce\Server]
[Finished]"**

what should I do now?

0 Likes

#2
0 Likes