atom-gpp-compiler
atom-gpp-compiler copied to clipboard
gcc Access is denied
-
[x] gcc -version is installed and running.
-
[x] System path has been set.
-
[x] MinGW packages installed
I'm using Windows 10, and when I tried to compile and run a C program I get this:
I'm able to compile and run the C program using Windows Powershell but not in Atom.
same for me.. Tried to create a new path for tdm which directs to my .c file, but still only works with powershell
It could be your virus protection stopping it. I have Norton Suite and it stops me from running and compiling. I haven't figured a way around it without turning off my protection yet
I found a solution that worked for me: In atom go to settings->install->packages->search for: "gpp-compiler"->settings->uncheck "Compile to Temporary Directory". Now your executables will be created in the project folder instead of users temp files.
Nothing stated above is working for me and this issue has occurred after I had converted a python file into an executable file using pyinstaller and my c files were also in that folder and after that point of conversion my c files are not compiling and also it's executable files are also not created
hey there I had solved this issue by including getch(); in my code
It could be your virus protection stopping it. I have Norton Suite and it stops me from running and compiling. I haven't figured a way around it without turning off my protection yet
This worked for me too. The program runs successfully after disabling antivirus for a while. Thank you so much, man! :p
Yes
- turn off real time scanning of your antivirus for sometime
- uncheck "compile to temporary Directory" in package settings these worked for me
unchecking wont work better go for turning of the real time scanning in your pc