atom-gpp-compiler
atom-gpp-compiler copied to clipboard
cpp files is not recognized as and internal or external command error.
'C:\Users\ovi\AppData\Local\Temp\11827-Maximum' is not recognized as an internal or external command, operable program or batch file.
I have added MinGW/bin path to my environment to solve g++ not spawned problem.
I've had this problem before but I'm not too sure on how I fixed it.
The package is probably trying to open 11827-Maximum
and NOT 11287-Maximum.exe
If you search in C:\Users\ovi\AppData\Local\Temp\
you should find the .exe file there
yes package is trying to open the exe from your defined location but without .exe . But i need help .
same here it's not recognizing the full path it stops on a space or on a number and doesn't continue ie: my path would be C:\users\desktop\folder1\folder2\file.exe it would read it C:\users\desktop\folder1\
I, as well, have the same problem. I have looked at a dozen of different sites and forums but haven't found any solution to this.
Any help would be appreciated. :)
Removing the spaces from my location of my project folder helped me fix this problem
Thanks it worked perfectly.
Thank you very much .
I found a solution for this
- open gpp compiler settings in atom.(packages->settings view->manage packages)
- you will find gpp compiler settings,open that and make sure that if compile to temporary directory is uncheck.
- this will work even if you have spaces in user name.
- if this does not work their might be problem in mingw installation and its path.
It was super weird for me. My file with name structure "sometext (othertext).cpp" didn't compile. After changing it's name to "a.cpp", compiling and then going back to original name it suddenly started to work
Please tell me how to fix that