I get this error on the second time compilation of the program even I close all cmd windows and restart the code blocks software, unable to understand why this error comes, please provide any solution.
mingw32-g++.exe -o bin\Debug\FirstProgram.exe obj\Debug\main.o
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot open output file bin\Debug\FirstProgram.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))