User forums > Help
Help to start
nime1:
Hello,
After long fighting and reading I get codeblocks worx in windows with wxSmith.
But I missed something to make exe files.
During compiling and linking I get many warnings like this:
--- Code: ---
-------------- Build: Release in aab ---------------
Compiling: aabMain.cpp
Compiling: aabApp.cpp
Linking executable: bin\Release\aab.exe
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xbc0): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xc59): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xcf5): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xda6): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xdce): undefined reference to `_Unwind_Resume'
C:\SourceCode\Libraries\wxWidgets2.8\lib\gcc_lib/libwxmsw28_core.a(corelib_menucmn.o):menucmn.cpp:(.text+0xe7a): more undefined references to `_Unwind_Resume' follow
--- End code ---
Of course, this is only a part but others are similar...
Please help on how to fix this or what to do to compile properly.
Thanx!
oBFusCATed:
Probably your app and the wxWidgets lib you're using were compiled with different compilers.
Probably you're mixing DW2 and SJLJ, which is known to not work.
Recompile you wxWidgets or try exactly the same compiler used to compile wxWidgets.
p.s. undefined reference is not a warning, but an error!
nime1:
Thanx obfuscated.
What to do instead of recompiling wxWidgets? For now this is sciencefiction for me.
I use wxWidgets from wxPack.
Can I simple change something in CB settings and what if I dont know what is compiled with what?
TDragon:
The version of wxPack you're using was compiled with a DW2 version of GCC, probably TDM-GCC 4.4.1-dw2. You need to either
* install a DW2 version of TDM-GCC -- see <http://tdm-gcc.tdragon.net> and <http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#MinGW.2FGCC>, or
* rebuild wxWidgets with your current compiler -- see <http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef>.
nime1:
Hello TDragon, thanx for helping...
In meantime I try all the compilers listed in C:B compiller settings :) combo, and all crashes in linking phase.
OK,
I think I have successfully installed 10.05 version of codeblocks and now I updated my Path with C:\Program Files\CodeBlocks\MinGW\bin what gives me message minGW32-gcc: no input files, like described on your link, from anywhere on dos prompt.
How I'm not able to recompile whole wxWidgets can you recommend me which exact version of wxWidgets I should download and from where to be compatibile with my codeblocks?
Navigation
[0] Message Index
[#] Next page
Go to full version