-1

I'm getting the following error when I try to debug my code in Eclipse:

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot open output file Pointers.exe: Permission denied

I'm using Windows 10, have McAfee antivirus, have turned the firewall and live-scan off, but I am still getting this error. I have my Path environment variable set to the bin folder of MinGW. How do I solve this problem?

Emma
  • 27,428
  • 11
  • 44
  • 69
user10399321
  • 21
  • 1
  • 3
  • 2
    Sound *a lot* like an AV-related problem. Or maybe you should check if you could write to the output folder. – Mirko Apr 07 '19 at 02:11
  • 1
    @Emma 's link probably has it. Make absolutely certain that the debugger finished the last run and exited. – user4581301 Apr 07 '19 at 02:28

1 Answers1

-1

In Eclipse, try right-clicking on the project giving you problems and clicking on "Clean Project".

Here's an image showing that menu. Menu with the Clean Project option selected

1201ProgramAlarm
  • 32,384
  • 7
  • 42
  • 56
Ajai M
  • 1