[Qt-creator] collect2: ld returned 1 exit status
Coda Highland
coda at bobandgeorge.com
Mon Jul 27 20:22:48 CEST 2009
Windows locks .exe files while the application is loaded into memory.
(This is just an extension to its behavior of locking all open files.)
Restarting Creator will unload the copy loaded into the debugger. That
said, if you quit the program and stop the debugger it should let go
on its own.
/s/ Adam Higerd
On Mon, Jul 27, 2009 at 1:04 PM, Shaun van Wyngaard
(Home)<shaungvw at gmail.com> 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
>
> mingw32-make[1]: *** [debug\POS.exe] Error 1
>
> mingw32-make: *** [debug] Error 2
>
> Exited with code 2.
>
> Error while building project POS
>
> When executing build step 'Make'
>
>
>
> Now looking at this, it would appear that there is a file access type of
> error, and somehow by restarting Qt Creator it "resets" it (until later and
> it happens again!)
>
> Can someone tell me why I get this error, and how to overcome it? I have
> tried to "Clean all", "Build all" "Rebuild all", with no luck.
>
>
>
> I am running Windows 7 RC. Could there be an issue here? (Although Windows 7
> is on our doorstep, and maybe mistaken, but I'm sure I saw some reference to
> Windows 7 on one of the QT sites).
>
>
>
> Also, when I go into options, documentation and I remove three references to
> .451 (qt, qmake & designer) and leave the .452 ones, when I restart Qt
> Creator they are back! (Similar to Arnie!)
>
> How do I get it to stay away?
>
>
>
> Thanks for any advice.
>
> _______________________________________________
> 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