Results 1 to 5 of 5

Thread: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on windows

  1. #1
    Join Date
    Sep 2010
    Location
    India
    Posts
    4
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on windows

    i am getting this error while running on Windows vista...get strucked with it...What is the thing mingw in windows.Previously i worked in linux qt...there is no problem with these stuffs..in windows facing several problems
    All my life i am eager to know what ' a good person ' means?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on window

    MingW on windows doesn't have any issues (if you use Qt SDK or correctly configure the environment)

    If your code worked on linux and doesn't work on windows, most likely, you imported the build configuration (and MingW tries to use the linux make files and other generated files), to solve this (if this is the case) you can use the Clean All option from the Build menu in Qt Creator, or manually delete the generated files.
    Last edited by Zlatomir; 1st September 2010 at 20:34.

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

    cheranj (2nd September 2010)

  4. #3
    Join Date
    Sep 2010
    Location
    India
    Posts
    4
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on window

    Yes..i ve installled qt sdk properly.My problem gets solved.It works on RELEASE mode.What is that DEBUG and RELEASE really do.
    All my life i am eager to know what ' a good person ' means?

  5. #4
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on window

    The "Debug" build is used by you (by you i mean the programmer who develop the application) while you develop and test the first versions of your application, because it has a lot of "debugging information", it's easier debug (to use the debugger) on the Debug build. The Release build it's the application that is ready to run on your client computer (it is without debugging information and contains optimizations, so it will run faster)

    NOTE: don't confuse the Debugger (application that you use to find bugs in your own application) with Debug build (your application is build with more information so that the Debugger application can give you more information is case your application fails)

    LE: you can switch to Debug build and run the Clean All option from Build menu (it should work after that)
    Last edited by Zlatomir; 2nd September 2010 at 11:04.

  6. The following user says thank you to Zlatomir for this useful post:

    cheranj (2nd September 2010)

  7. #5
    Join Date
    Aug 2011
    Posts
    1
    Thanks
    1
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Unix/X11 Windows

    Default Re: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.-->Error on window

    Hi,
    when I compiling my project there is an error "error: cannot find -lpthreadGC2". I had download pthreadGC2 and paste it to mingw/bin but its doesnt matter. What can I do?

Similar Threads

  1. "make install" and "make clean" on Windows for Qt
    By Berberis in forum Installation and Deployment
    Replies: 0
    Last Post: 30th November 2009, 00:02
  2. make error about "drag and drop"
    By halloworld in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 11th February 2009, 12:33
  3. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 12:45
  4. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 16:58
  5. "make" is giving an error
    By Sarma in forum Qt Programming
    Replies: 6
    Last Post: 21st August 2006, 15:28

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.