• 7728阅读
  • 0回复

[提问]大家看看这个error: undefined reference to `_Unwind_Resume' [复制链接]

上一主题 下一主题
离线hanaper
 
只看楼主 正序阅读 楼主  发表于: 2012-05-27
关键词: QT4
11:59:40: Running steps for project TestApp...
11:59:40: Starting: "C:\Qt\4.8.1\bin\qmake.exe" E:\Workspace\QT\TestApp\TestApp.pro -r -spec win32-g++ "CONFIG+=declarative_debug"
11:59:41: The process "C:\Qt\4.8.1\bin\qmake.exe" exited normally.
11:59:41: Starting: "C:\Qt\MinGW\bin\mingw32-make.exe"
C:/Qt/MinGW/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `E:/Workspace/QT/TestApp-build-desktop-Qt_4_8_1__4_8_1__Debug'
c:\Qt\4.8.1\bin\uic.exe ..\TestApp\mainwindow.ui -o ui_mainwindow.h
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.8.1\include\QtCore" -I"c:\Qt\4.8.1\include\QtGui" -I"c:\Qt\4.8.1\include" -I"c:\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\TestApp" -I"." -I"c:\Qt\4.8.1\mkspecs\win32-g++" -o debug\main.o ..\TestApp\main.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.8.1\include\QtCore" -I"c:\Qt\4.8.1\include\QtGui" -I"c:\Qt\4.8.1\include" -I"c:\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\TestApp" -I"." -I"c:\Qt\4.8.1\mkspecs\win32-g++" -o debug\mainwindow.o ..\TestApp\mainwindow.cpp
C:\Qt\4.8.1\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.8.1\include\QtCore" -I"c:\Qt\4.8.1\include\QtGui" -I"c:\Qt\4.8.1\include" -I"c:\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\TestApp" -I"." -I"c:\Qt\4.8.1\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\TestApp\mainwindow.h -o debug\moc_mainwindow.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\Qt\4.8.1\include\QtCore" -I"c:\Qt\4.8.1\include\QtGui" -I"c:\Qt\4.8.1\include" -I"c:\Qt\4.8.1\include\ActiveQt" -I"debug" -I"." -I"..\TestApp" -I"." -I"c:\Qt\4.8.1\mkspecs\win32-g++" -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp
g++ -mthreads -Wl,-subsystem,windows -o debug\TestApp.exe debug/main.o debug/mainwindow.o debug/moc_mainwindow.o  -L"c:\Qt\4.8.1\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `E:/Workspace/QT/TestApp-build-desktop-Qt_4_8_1__4_8_1__Debug'
c:\Qt\4.8.1\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'
c:\Qt\4.8.1\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'
c:\Qt\4.8.1\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'
c:\Qt\4.8.1\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\TestApp.exe] Error 1
mingw32-make: *** [debug] Error 2
11:59:51: The process "C:\Qt\MinGW\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project TestApp (target: Desktop)
When executing step 'Make'
快速回复
限100 字节
 
上一个 下一个