Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

_Unwind_Resume error in Qt 4.8, MinGW 4.4.1

$
0
0
Hi, I just upgraded from Qt 4.7 to 4.8 (Creator 2.6.1), and now I can’t even compile “Hello World.” If anyone would be willing to skim through the compiler errors, I’d be very grateful. I’ve spent several hours trying solutions from various message boards — running qtvars.bat, mingw32-make dist, various .pro tweaks — but nothing’s had any effect: 00:18:07: Running steps for project hello... 00:18:07: Starting: "D:\Program Files\CodeBlocks\MinGW\bin\mingw32-make.exe" clean D:/Program Files/CodeBlocks/MinGW/bin/mingw32-make -f Makefile.Debug clean mingw32-make[1]: Entering directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' del debug\hello.o mingw32-make[1]: Leaving directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' D:/Program Files/CodeBlocks/MinGW/bin/mingw32-make -f Makefile.Release clean mingw32-make[1]: Entering directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' del release\hello.o mingw32-make[1]: Leaving directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' Could Not Find D:\My Documents\Programming\Cpp\Qt\qt-book\chap01\hello-build-Desktop-Debug\release\hello.o 00:18:07: The process "D:\Program Files\CodeBlocks\MinGW\bin\mingw32-make.exe" exited normally. 00:18:07: Configuration unchanged, skipping qmake step. 00:18:07: Starting: "D:\Program Files\CodeBlocks\MinGW\bin\mingw32-make.exe" D:/Program Files/CodeBlocks/MinGW/bin/mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' g++ -c -pipe -g -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"d:\Qt\4.8.4\include\QtCore" -I"d:\Qt\4.8.4\include\QtGui" -I"d:\Qt\4.8.4\include" -I"d:\Qt\4.8.4\include\ActiveQt" -I"debug" -I"..\hello" -I"." -I"d:\Qt\4.8.4\mkspecs\win32-g++" -o debug\hello.o ..\hello\hello.cpp g++ -mthreads -Wl,-subsystem,windows -o debug\hello.exe debug/hello.o  -L"d:\Qt\4.8.4\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4 mingw32-make[1]: Leaving directory `D:/My Documents/Programming/Cpp/Qt/qt-book/chap01/hello-build-Desktop-Debug' d:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o): In function `WinMain@16': c:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:93: undefined reference to `_Unwind_Resume' c:\iwmake\build_mingw_opensource\src\winmain/qtmain_win.cpp:135: undefined reference to `_Unwind_Resume' d:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o):c:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:512: undefined reference to `_Unwind_Resume' d:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o):c:\iwmake\build_mingw_opensource\src\winmain/../../include/QtCore/../../src/corelib/tools/qvector.h:513: undefined reference to `_Unwind_Resume' d:\Qt\4.8.4\lib/libqtmaind.a(qtmain_win.o):qtmain_win.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status mingw32-make[1]: *** [debug\hello.exe] Error 1 mingw32-make: *** [debug] Error 2 00:18:10: The process "D:\Program Files\CodeBlocks\MinGW\bin\mingw32-make.exe" exited with code 2. Error while building/deploying project hello (kit: Desktop) When executing step 'Make'

Viewing all articles
Browse latest Browse all 18427

Trending Articles