Sublime Forum

Cannot Use Sublime Text for competitive programming

#1

Whenever, I try to run the following code it gives the same error.

[WinError 2] The system cannot find the file specified
[cmd: [‘bash’, ‘-c’, “g++ -std=c++14 ‘C:\Users\Mohit\OneDrive\Desktop\Sublime\sublime.cpp’ -o ‘C:\Users\Mohit\OneDrive\Desktop\Sublime/sublime’ && ‘C:\Users\Mohit\OneDrive\Desktop\Sublime/sublime’”]]
[dir: C:\Users\Mohit\OneDrive\Desktop\Sublime]
[path: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Users\Mohit\AppData\Local\Microsoft\WindowsApps;C:\Users\Mohit\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Mohit\AppData\Local\GitHubDesktop\bin;C:\adb;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Mohit\AppData\Local\Programs\Eclipse Adoptium\jdk-17.0.11.9-hotspot\bin;C:\Users\Mohit\AppData\Local\Microsoft\WindowsApps;C:\Users\Mohit\AppData\Local\GitHubDesktop\bin;C:\MinGW\bin;C:\Users\Mohit\AppData\Local\Microsoft\WindowsApps;C:\Users\Mohit\AppData\Local\Programs\Microsoft VS Code\bin;]

0 Likes