tags:

views:

212

answers:

2

I compile a Qt program with C++; 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?

What to do for get out of the errors?

A: 

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.

Kangkan
+5  A: 

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

Henk Holterman
I've had this one sneak up on me over and over. I've learned to just check.
San Jacinto
+1: This is exactly what is the problem here.
rubenvb
I check the task manager then end the program. After I execute the codes again, I get a send report it says :serbest.exe has encountered a problem and needs to close. We are sorry for the inconvenience.And also in application output:QMutex::lock: Deadlock detected in thread 5868what can I do now??
sheman
Yep, exit code 1 means it is still running. This is why most programs return an exit code 0 when succesfully closing to show that there was no error.
Exa
You can also have a look at this discussion: http://tinyurl.com/2w2npff Same probleme there.
Exa