Author Topic: wxWidgets compiling error  (Read 4285 times)

Offline Briensturm

  • Single posting newcomer
  • *
  • Posts: 2
wxWidgets compiling error
« on: March 13, 2010, 03:57:44 pm »
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.
« Last Edit: March 13, 2010, 04:20:20 pm by Briensturm »

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: wxWidgets compiling error
« Reply #1 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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: wxWidgets compiling error
« Reply #2 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.
Be a part of the solution, not a part of the problem.

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: wxWidgets compiling error
« Reply #3 on: March 13, 2010, 05:56:59 pm »
hmm those errors mean your compiler cant find libgcc and libstdc++

update binutils package ;)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: wxWidgets compiling error
« Reply #4 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline reckless

  • Regular
  • ***
  • Posts: 338
Re: wxWidgets compiling error
« Reply #5 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 :)

Offline Briensturm

  • Single posting newcomer
  • *
  • Posts: 2
Re: wxWidgets compiling error
« Reply #6 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.  :)