ld.exe: cannot open output file … : Permission denied

前端 未结 12 544
我寻月下人不归
我寻月下人不归 2020-12-04 14:02

I recently installed CodeBlocks with mingw32 on Windows 7 Ultimate 32bit in order to dust off my c skills, but this problem has me somewhat stumped.

I decided to fir

12条回答
  •  庸人自扰
    2020-12-04 14:55

    If you think the executable is locked by a process, try Process Explorer from SysInternals. In the File/handle, enter Fibonacci.exe and you should see who holds the file.

    If it is not enough, you can use Process Monitor (from SysInternals, again) to follow the activity of all processes on your system on Fibonacci.exe. With a little bit of analysis (call stacks), you'll may find out why the access to the file is denied and what make it disappear.

提交回复
热议问题