[Qt-creator] collect2: ld returned 1 exit status

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Mon Jul 27 20:31:21 CEST 2009


On Mon, Jul 27, 2009 at 08:04:49PM +0200, Shaun van Wyngaard (Home) wrote:
> Why is it I sometimes get the above error, and then all I have to so is close Qt Creator, re-open and then it compiles fine.
> This is the associated compile log...
> 
> C:\Qt\2009.03\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot open output file debug\POS.exe: Permission denied 
> collect2: ld returned 1 exit status

This usually happens when there is a POS.exe still running at
the time the linker wants to write a new POS.exe.

> I am running Windows 7 RC. Could there be an issue here?

To a certain degree, yes ;-)

It is a Windows-only problem. Other operating systems
have no problems replacing a binary while it is running.

Andre'



More information about the Qt-creator-old mailing list