Windows and Avast are blocking the compilation of programs in C

0

Whenever I worked with C language, I used computers from college, so I never had a problem compiling them and running them in the Dev-C ++ IDE. Currently, I installed version 5.11 on my machine, but I just tried to use it today. For testing, I wrote a very basic code, saved it and clicking on "Compile and Run", I received an alert that I had never encountered before:

can not open output file (...) \ tests.exe: Permission denied [Error] ld returned 1 exit status

Next to the error, Avast opens a navigation window, informing:
"

We've just protected your file

Id.exe is trying to change or delete the TESTES.EXE file in your protected Documents folder.

"

What would be the procedure to compile and run the programs normally and prevent the antivirus from reading it before it runs (as this would make the process much slower). ?

    
asked by anonymous 01.08.2018 / 00:09

1 answer

-1

Just go to the avast icon near the clock (bottom right corner) > Right-click on it > Go to "Controlling Avast Modules" > And disables it for the time needed. Hugs!

    
01.08.2018 / 04:33