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

前端 未结 12 562
我寻月下人不归
我寻月下人不归 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 14:45

    It may be your Antivirus Software.

    In my case Malwarebytes was holding a handle on my program's executable:

    Using Process Explorer to close the handle, or just disabling antivirus for a bit work just fine.

提交回复
热议问题