Author Topic: Compiling C::B wit wx2.9  (Read 17944 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Compiling C::B wit wx2.9
« Reply #15 on: March 04, 2013, 10:48:43 pm »
i finally also managed to build c::b with wx2.9.

I think my build environment is a mess . My errors came from the "double" link against the monolithic libwx_gtk2u-2.9.so.5 and the libwx_gtk2u_aui-2.9.so.5. This was because of the "wx-config --libs std,aui,propgrid". I deleted the std,aui,propgrid and now it is working.  If i'm not wrong c::b is linked against the monolithic build of wx, so why are there this additional "--libs std,aui,propgrid"?

o.t. Am I the only one with a monolithic and a normal wx build? How is your wx build?

thanks!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Compiling C::B wit wx2.9
« Reply #16 on: March 04, 2013, 10:51:29 pm »
As far as I know the default wxWidgets builld on most (all?) linuxes is not monolithic.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: Compiling C::B wit wx2.9
« Reply #17 on: March 12, 2013, 07:23:55 pm »
As far as I know the default wxWidgets builld on most (all?) linuxes is not monolithic.

so this wiki entry is misleading and should be removed (the passage about monolithic build):
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Building_wxWidgets

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Compiling C::B wit wx2.9
« Reply #18 on: March 12, 2013, 08:00:44 pm »
As far as I know the default wxWidgets builld on most (all?) linuxes is not monolithic.

so this wiki entry is misleading and should be removed (the passage about monolithic build):
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux#Building_wxWidgets
The wiki is about selfbuild wxWidgets, and it says monolithic seems not to be the default, even if the documentation says so. But the whole wiki article is quiet old, as it refers to 2.8.7 .

What I said (or meant) is, that the default wxWidgets-packages distributed by wxWidgets and by the distros are shared non monolithic builds.
That's why the project files (and the autotools files) explicitely load aui, propgrid and richtext library (if needed).