Sublime Forum

G++ error in Sublime 3

#1

I got to compile my code and then receive the following:
‘g++’ is not recognized as an internal or external command,
operable program or batch file.
[Finished in 0.0s with exit code 1]
[shell_cmd: g++ “E:\Program Files\Sublime Text 3\Projects\Conversion.c” -o “E:\Program Files\Sublime Text 3\Projects/Conversion”]
[dir: E:\Program Files\Sublime Text 3\Projects]
[path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Windows Live\Shared]

I’ve read several forum posts that said the g++ issue was fixed in Sublime 3…it would appear not. I’m not exactly sure what to do or how to bypass this…
Thanks for your help

0 Likes

#2

Try to set g++ to your system path.
You can refer to this: claremontmckenna.edu/pages/f … +/g++.html
(I just randomly pick out one from google… Should be of help)

0 Likes