English 中文(简体)
Qt C++, Eclipse (on Win 7) - 项目建设失败,“未解决提及__Unwind_Resume”错误
原标题:Qt C++, Eclipse (on Win 7) - project build failed with "unresolved reference to _Unwind_Resume" error

I ve gotWindows 7 64-bit and I only established Qt ( open-source, edition 201004) and organic it into Eclipse (CDT, edition Helios). 一切似乎都是罚款的,我通过打字和编造W32的编辑和编织的Qt,通过打字。 与Eclipse的融合也取得了一些成绩。

然而,我对第一个简单项目提出了问题。 如果我设立“Qt Gui项目”,并试图立即加以建设,则建筑工程有以下错误:

mingw32-make: *** [release] Error 2
mingw32-make[1]: *** [releasepokus.exe] Error 1
undefined reference to `__gxx_personality_v0 
undefined reference to `_Unwind_Resume 

我也试图利用Debug配置,但建筑也失败了,有同样的错误。 然而,我并不期望德布尔配置会发挥作用,因为我已经建造了破碎的图书馆。 (事实上,我不知道如何做到这一点——我几年前就安装了Qt,现在有一分之机,但现在我找不到。)

正如我以前说过的那样,我有一条通向环境道路的道路,正确地把ming威32和Qt混为一谈,但不知道还有什么东西可以检查或做。 感谢所有建议......

Edit:我发现,这些错误可能是由于使用电离率而不是使用g++的意外造成的。 我认为,如果我看看项目属性,则情况并非如此。 “生产项目”和“环境表”,我可以看到,“QMAKESPEC”变量的价值是“732-g++”,因此,我希望它意味着“g++”用于该项目。

最佳回答

溶解——问题在于MinGW的坏版本,我安装了目前的版本(5.1.6)。 我停下来,取而代之的是4.4.0版,从Qt网站下载(http://get.qt.nokia.com/misc/MinGW-gcc440_1.zip),现在所有物品都罚款。

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签