Qt Error _unwind_resume
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack undefined reference to _unwind_resume' code blocks Overflow the company Business Learn more about hiring developers or posting ads with us Stack undefined reference to _unwind_resume' qt Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Undefined Reference To __gxx_personality_sj0
of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Undefined reference to `_Unwind_Resume' with QT up vote 3 down vote favorite 1 When trying to switch to gcc 4.6.2 in qt (setting it in a toolchain) I'm getting the following error: c:\ndk_buildrepos\qt-desktop\src\winmain\qtmain_win.cpp:93: error: undefined reference to `_Unwind_Resume' Any idea how to fix it? //.pro QMAKE_CXXFLAGS += -std=c++0x SOURCES += \ main.cpp c++ qt share|improve this question edited Jun 8 '15 at 19:31 Ciro Santilli 烏坎事件2016六四事件 法轮功 53.3k10229171 asked Jan 10 '12 at 16:50 smallB 4,5751466123 2 Are you maybe linking with gcc instead of g++? please show at least the linker line. –PlasmaHH Jan 10 '12 at 16:52 @PlasmaHH where can I get the linker line from? –smallB Jan 10 '12 at 16:54 Add your .pro file. –Frank Osterfeld Jan 10 '12 at 18:33 1 When you switched, did you clean out all of the old .o files so they will be rebuilt with the new compiler? –Steve C Jan 11 '12 at 0:55 @SteveC yes I did –smallB Jan 11 '12 at 7:04 | show 3 more comments 2 Answers 2 active oldest votes up vote 1 down vote accepted I download and installed a Qt library alone (i didn't download the whole SDK) I Wrote a simple Hello Qt window.. I link it with my Dev-Cpp (since Dev-Cpp is using MinGW as well) mine version actually is 3.4.x not 4.4.x... I compile it the Qt way using qmake .. etc.. I got an error you have experienced as well.. ... "_Unwind_Resume ..." ... My Solution (simple, very simple) Run the Qt X.X.X. (Build Debug Libraries) or.. Run the qtvars.bat (depending on the version of Qt you are using) mine is 4.8.0.. 1 and 2 are the same thing.. I did a hit of make again.. it runs..:) p.s. it s
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development Installation and Deployment [SOLVED] _Unwind_Resume error in Qt 4.8, MinGW 4.4.1 [SOLVED] _Unwind_Resume error in Qt 4.8, MinGW 4.4.1 This topic has been deleted. Only users with topic management privileges can see it. planarian last edited http://stackoverflow.com/questions/8807098/undefined-reference-to-unwind-resume-with-qt by 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 https://forum.qt.io/topic/23484/solved-_unwind_resume-error-in-qt-4-8-mingw-4-4-1 -- 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 directoryD:/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 directoryD:/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 directoryD:/My Documents/Programming/Cpp/Qt/qt-book/
QtForum.org » Qt » Qt Designer » undefined reference to http://www.qtforum.org/article/32153/undefined-reference-to-unwind-resume.html `_Unwind_Resume' Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, undefined reference to register here or read more information about the registration process. If you are already registered, please login here. Skip user information rXp Beginner Posts: 2 1 Thursday, March 25th 2010, 7:40am undefined reference to `_Unwind_Resume' Hello, I use QT creator to undefined reference to compile my project and when I use QT designer I inherit the mywindow to QTMainWindow to use the ui_mywindow (auto-generated), I get this error for release and debug mode: Quoted mingw32-make: Entering directory `C:/Users/ed.TELECOMSERVICES/Documents/Test' C:/MinGW/bin/mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory `C:/Users/ed.TELECOMSERVICES/Documents/Test' g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows -o release\Test.exe release/MainWindow.o release/main.o release/moc_MainWindow.o -L"c:\Qt\2010.02.1\qt\lib" -lmingw32 -lqtmain -lQtGui4 -lQtCore4 mingw32-make[1]: Leaving directory `C:/Users/ed.TELECOMSERVICES/Documents/Test' mingw32-make: Leaving directory `C:/Users/ed.TELECOMSERVICES/Documents/Test' c:\Qt\2010.02.1\qt\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp.text+0x1c2): undefined reference to `_Unwind_Resume' c:\Qt\2010.02.1\qt\lib/libqtmain.a(qtmain_win.o):qtmain_win.cpp.text$_ZN7QVectorIPcE7reallocEii[QVector