cannot open output file debug\serbest.exe: Permission denied

后端 未结 4 412
刺人心
刺人心 2020-12-11 17:25

I compile a Qt program with C++, and I got this error message:

cannot open output file debug\\serbest.exe: Permission denied
collect2: ld return

相关标签:
4条回答
  • 2020-12-11 18:06

    Sometimes this error caused because of your antivirus added this file in the limited group. This helped me!

    0 讨论(0)
  • 2020-12-11 18:08

    run your compiler software as admin. choose your compiler on start menu > right click and run as admin. you wil not probably see any permission denied errors.

    0 讨论(0)
  • 2020-12-11 18:12

    It says the current user is not having enough right to write onto the debug folder. Check whether you can create a new file in the folder as referred to.

    0 讨论(0)
  • 2020-12-11 18:20

    Most likely cause: serbest.exe is still running. Check with TaskManager.

    0 讨论(0)
提交回复
热议问题