News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxWidgets compiling error

Started by Briensturm, March 13, 2010, 03:57:44 PM

Previous topic - Next topic

Briensturm

Hello,
I tried compiling a wxWidgets project, but I am always getting these errors:


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.

Ceniza

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.

Biplab

Are you using compilers with dw2 unwinding enabled? wxPack website specifies that they use gcc-dw2 build. Please check your compiler configuration.
Be a part of the solution, not a part of the problem.

reckless

hmm those errors mean your compiler cant find libgcc and libstdc++

update binutils package ;)

stahta01

Quote from: 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.

+1

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

reckless

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 :)

Briensturm

Quote from: 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.
that fixed it, thank you.  :)