Results 1 to 3 of 3

Thread: Strange Make Error: ld.exe?

  1. #1
    Join Date
    Jul 2007
    Posts
    23
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Windows

    Question Strange Make Error: ld.exe?

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Strange Make Error: ld.exe?

    Try a "make clean".

    Regards

  3. The following user says thank you to marcel for this useful post:

    Backslash (7th August 2007)

  4. #3
    Join Date
    Jul 2007
    Posts
    23
    Thanks
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Strange Make Error: ld.exe?

    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

Similar Threads

  1. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  2. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.