User forums > Using Code::Blocks
Code::Blocks and wxWidgets
stahta01:
--- Quote from: f4Gg0t_43 on August 24, 2009, 04:59:30 am ---Thank you very much! 4 hours to download 300mb file? Took me like 10 minutes are you sure it is the right one?
--- End quote ---
Yes, about 300 MB; but, I found a prior copy on my harddrive and now I just need to decide how to test it.
Do I need to check with same Compiler as you used or not, etc.
Edit: I have the cheapest DSL line possible; it is much faster than dial-up.
Tim S.
stahta01:
From
http://www.network-theory.co.uk/docs/gccintro/gccintro_54.html
--- Quote ---Undefined references to internal run-time library functions, such as __gxx_personality_v0, are also a symptom of linking C++ object files with gcc instead of g++. Linking the same object file with g++ supplies all the necessary C++ libraries and will produce a working executable:
--- End quote ---
Need the build log from "Full Compiler Logging" to verify the above is not the cause.
Tim S.
f4Gg0t_43:
I am using g++.
--- Code: ---mingw32-g++.exe -LC:\wxWidgets2.8\lib\gcc_lib -LC:\boost\lib -o bin\Debug\4.exe obj\Debug\_Main.o obj\Debug\_App.o obj\Debug\resource.res -lwxmsw28_core -lwxbase28 -lwxpng -lwxzlib -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lcomctl32 -lwsock32 -lodbc32 -mwindows
--- End code ---
stahta01:
Duplicated the errors with wxPack and the newest TDM GCC Compiler.
--- Code: ---GCCBASEDIR=C:\GreenApps\MinGW_GCC4_41_TDM1
gcc version 4.4.1 (TDM-1 mingw32)
GNU ld (GNU Binutils) 2.19.1
GNU windres (GNU Binutils) 2.19.1
GNU dlltool (GNU Binutils) 2.19.1
GNU Make 3.81
#define __MINGW32_VERSION 3.16
#define __W32API_VERSION 3.13
--- End code ---
My errorss
--- Code: ---C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0x2dc): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0x9e8): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0xa08): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0xc8b): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0xe9e): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.text+0xeb0): more undefined references to `_Unwind_Resume' follow
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_app.o):app.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_main.o):main.cpp:(.text+0x13f): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_main.o):main.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_icon.o):icon.cpp:(.text+0x272): undefined reference to `_Unwind_Resume'
--- End code ---
I suggest trying the newer wxPack and see if the problem goes away.
Tomorrow I will see if I have time to test wxPack_v2.8.9.02.
College classes begin Tomorrow; no idea if I will have the time till next weekend or not.
Tim S.
TDragon:
I can clear this up; the problem is definitely that f4Gg0t_43 is using the official MinGW GCC 3.4.5 (which uses SJLJ unwinding) but the latest version of wxPack uses TDM-GCC 4.3.2-dw2. You can't mix versions of GCC with different unwinding methods; and with C++ programs, it's generally best to also use a release in the same series.
Sorry -- but it's not very hard to build wxWidgets yourself!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version