kriscross07 / atom-gpp-compiler

An atom package that allows you to compile and run C++ and C within the editor.
https://atom.io/packages/gpp-compiler
80 stars 228 forks source link

'gcc' could not be spawned. #58

Open mishran025 opened 7 years ago

mishran025 commented 7 years ago

Please share how can I resolve it. I am attaining this error.

"'gcc' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process."

Sayan-Roy commented 7 years ago

@mishran025 Firstly,check if C:\MInGW\bin is in your path environment variable. Secondly,after doing this try to close and reopen the Atom as the user(i ran it as an administrator) which has all (write,read,execute) permissions to the .c file .Your .c file might be read only.Check that first.It worked for me.