搜索
首页 电脑/网络 程序设计 其他编程语言

qt的helloworld程序编译出错,该如何处理

全部回答

2018-07-24

2 0
    F: emp_fileqthello>makemake -f Makefile。Debugmake[1]: Entering directory `F:/temp_file/qt/hello'g -mthreads -Wl,-subsystem,windows -o debughello。
    exe debug/hello。o -L"f:local_fileQTlib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4f:local_fileQTlib/libqtmaind。
  a(qtmain_win。o): In function `WinMain@16':c:iwmakeuild_mingw_opensourcesrcwinmain/qtmain_win。  cpp:93: undefined reference to `_Unwind_Resume'c:iwmakeuild_mingw_opensourcesrcwinmain/qtmain_win。
  cpp:135: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。  a(qtmain_win。
  o):c:iwmakeuild_mingw_opensourcesrcwinmain/。。/。。/include/QtCore/。。/。。/src/corelib/tools/qvector。
  h:512: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。  a(qtmain_win。
  o):c:iwmakeuild_mingw_opensourcesrcwinmain/。。/。。/include/QtCore/。。/。。/src/corelib/tools/qvector。
  h:513: undefined reference to `_Unwind_Resume'f:local_fileQTlib/libqtmaind。  a(qtmain_win。
  o):qtmain_win。cpp:(。eh_frame 0x12):undefined reference to `__gxx_personality_v0'collect2: ld returned 1 exit statusmake[1]: *** [debughello。
    exe] Error 1make[1]: Leaving directory `F:/temp_file/qt/hello'make: *** [debug] Error 2------解决方案-------------------------------------------------------- undefined reference to `_Unwind_Resume' 是不少头文件,------解决方案-------------------------------------------------------- 多个gcc版本那也不会影响编译。
    。默认都是最高版本的!。

类似问题换一批

热点推荐

热度TOP

相关推荐
加载中...

热点搜索 换一换

电脑/网络
其他编程语言
程序设计
电脑装机
操作系统/系统故障
硬件
笔记本电脑
百度
互联网
反病毒
软件
程序设计
其他编程语言
数据库
C/C++
VB
JAVA相关
C#/.NET
VC++
汇编语言
其他编程语言
其他编程语言
举报
举报原因(必选):
取消确定举报