[Qt-creator] collect2: ld returned 1 exit status
Shaun van Wyngaard (Home)
shaungvw at gmail.com
Mon Jul 27 22:10:03 CEST 2009
So how do I get the POS.exe out of its running state. I have already clicked
the stop button (red square), or the program has terminated normally.
Next time it happens, I will open up task manager to see if it is still in
memory. Possibly it is getting created with an attribute set, but not always
cleared?
--------------------------------------------------
From: "Andre Poenitz" <andre.poenitz at mathematik.tu-chemnitz.de>
Sent: Monday, July 27, 2009 8:31 PM
To: <qt-creator at trolltech.com>
Subject: Re: [Qt-creator] collect2: ld returned 1 exit status
> 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'
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
More information about the Qt-creator-old
mailing list