Code::Blocks Forums

User forums => Help => Topic started by: Briensturm on March 13, 2010, 03:57:44 pm

Title: wxWidgets compiling error
Post by: Briensturm on March 13, 2010, 03:57:44 pm
Hello,
I tried compiling a wxWidgets project, but I am always getting these errors:

(http://www.imagebanana.com/img/e20v5l4s/error.jpg)
etc.

They just occur when I'm unchecking "Use wxwidgets DLL" while setting up the project but I do not want do distribute the DLL as well.
Every other combination of settings with this option checked compiles just fine.
I tried using wxPack and compiling wxWidgets myself with appropriate build options, but both ways gave me the same errors.
I am using windows 7 32bit, MinGW 5.1.6 and CodeBlocks 8.02, I also tried using the newest nightly build, but still no change.

I'm kinda stuck here and don't know what else to trie, so I appreciate any help.
Thank you.
Title: Re: wxWidgets compiling error
Post by: Ceniza on March 13, 2010, 04:45:07 pm
Updating Code::Blocks won't help since your problem is all about the compiler and linker. I don't really know if someone will be able to help you here just with that information. Besides, it is not related to Code::Blocks itself, unless it is an issue with the wizard.

Enable full command line compiler logging, then try again. It won't solve the problem, but it will provide way more information. You may want to ask for help in the wxWidgets forums. They may have a clue in there.
Title: Re: wxWidgets compiling error
Post by: Biplab on March 13, 2010, 05:00:57 pm
Are you using compilers with dw2 unwinding enabled? wxPack website specifies that they use gcc-dw2 build. Please check your compiler configuration.
Title: Re: wxWidgets compiling error
Post by: reckless on March 13, 2010, 05:56:59 pm
hmm those errors mean your compiler cant find libgcc and libstdc++

update binutils package ;)
Title: Re: wxWidgets compiling error
Post by: stahta01 on March 13, 2010, 06:07:10 pm
Are you using compilers with dw2 unwinding enabled? wxPack website specifies that they use gcc-dw2 build. Please check your compiler configuration.

+1

IIRC, I got this error when I tried to mix DW2 and SJLJ libraries/client code.

Tim S.
Title: Re: wxWidgets compiling error
Post by: reckless on March 13, 2010, 07:44:47 pm
my bad then  :lol: well not the first thought that came to mind that someone would try mixing different runtime libraries.

glad its solved though :)
Title: Re: wxWidgets compiling error
Post by: Briensturm on March 14, 2010, 01:17:41 am
Are you using compilers with dw2 unwinding enabled? wxPack website specifies that they use gcc-dw2 build. Please check your compiler configuration.
that fixed it, thank you.  :)