PDA

View Full Version : example 2dpainting of QTCreator builds with errors [help needed]



planetLars
15th April 2010, 11:07
Hello,

here are the errors:


c:\Qt\2010.02.1\qt\lib/libqtmaind.a:-1: error: In function `WinMain@16':
C:\qt-greenhouse\Trolltech\Code_less_create_more\Trollte ch\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:93: undefined reference to `_Unwind_Resume'
C:\qt-greenhouse\Trolltech\Code_less_create_more\Trollte ch\Code_less_create_more\Troll\4.6\qt\src\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume'
c:\Qt\2010.02.1\qt\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp::-1: error: undefined reference to `__gxx_personality_v0'
:-1: error: collect2: ld returned 1 exit status

C:\qt-greenhouse\ wasn't created by QTCreator installer.

What do I have to do to resolve these errors?

Kind Regards

Lars

planetLars
15th April 2010, 18:01
these errors are due to using g++ 3.5, i.e. MinGW 3.5 (or 3.1.5? whatever) with the Automated Installer. The Automated Installer is deprecated and outdated. It installs g++ 3.x. Manual installation is necessary to get g++ 4.4.0. Wow. Buried on the MinGW website (as the formatting and layout is badly readable).

planetLars
15th April 2010, 21:29
see also http://www.qtcentre.org/threads/29879-linker-errors-from-MinGW-4.4.0-for-Qt-4.6.2