PDA

View Full Version : Strange Make Error: ld.exe?



Backslash
7th August 2007, 05:24
Hi all,

When trying to run make I get a strange error:

C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot fin
d -lQtGui4
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\csbinder.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Documents and Settings/Owner/Desktop/CSBi
nder'
mingw32-make: *** [release] Error 2

This is after I have compiled the program with shared libraries, then tried to run configure -static (decided against it) , then ran configure -shared again...now when I try I get the above.

Did I do something I shouldn't have? Is there a way I can reset whatever I've broken, or do I need to reinstall Qt/MingW?

Thanks for all the help,
Backslash

marcel
7th August 2007, 09:02
Try a "make clean".

Regards

Backslash
7th August 2007, 18:33
I gave that a try and still got the error. I think it happened because when I first tried to configure Qt statically I accidentally killed the command window before it finished. So I just uninstalled and reinstalled and I works fine now.

Thanks anyhow,
Backslash