Topic: Compilation/build error

I got the following error while trying to build and run my project. I should point out that I had mistakenly deleted mingw-64 by mistake while trying to free up space on my Windows PC. I downloaded it and re-installed it apparently into the wrong location. Should I re-install Simply Fortran?

Generating target.exe
c:/program files (x86)/simply fortran 3/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file target.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
Error: Last command making (target.exe) returned a bad status
Error: Deleting (target.exe): Permission denied
Error: Make execution terminated

Re: Compilation/build error

Problem solved by re-installation of Simply Fortran.

Re: Compilation/build error

The original issue is usually caused by the executable, target.exe in this case, still running in the background.  You would need to check the Windows Task Manager to make sure target.exe is not still running.  Sometime Simply Fortran, try as it might, cannot terminate a runaway Fortran executable, and the user has to intervene.

Jeff Armstrong
Approximatrix, LLC