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

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

cannot open output file debug\serbest.exe: Permission denied collect2: ld returned 1 exit status

What are these command's meaning?

How do I get rid of these errors?

Answers


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


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.


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.


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


Need Your Help

Basic Ajax send/receive with node.js

javascript ajax node.js

So I'm trying to make a very basic node.js server that with take in a request for a string, randomly select one from an array and return the selected string. Unfortunately I'm running into a few

Maximum PID in Linux

c linux pid

I am porting an application from Tru64 to Linux and it uses PID_MAX defined in limits.h.