Author Topic: installing GUI components  (Read 5564 times)

jape

  • Guest
installing GUI components
« on: November 18, 2008, 08:22:36 pm »
I need some advice on installing Code::Blocks GUI components.

I have installed Code::Blocks v8.02, gcc v4.1.2 and gcc-c++ v4.1.2.  Code::Blocks runs and I can compile Hello World.  So far so good.

Now I would like to write some simple form based GUI's.  A few buttons, some data entry boxes and draw some graphs.  I usually do this on Windows with Visual Studio, C++ and MFC.

So I need some advice on what additional components to install to provide me with a MFC like GUI capability in Code::Blocks.  I'd prefer something with a drag and drop form builder.

I see in Code::Blocks there are project wizards for OpenGL, GTK+, wxWidgets and others.  Which of these should I be considering ?

Do any of these components provide a drag and drop form builder ?

Is the cross platform support wxWidgets claims really worthwhile ? 

Also I'd appreciate any advice on installing the components given that I will be running them on Acers limited version of Linpus Lite (based on Fedora 8) which is behind the current Fedora release.  E.G. which components will or will not install on Fedora 8 ?

Regards, Jape

Offline nanyu

  • Almost regular
  • **
  • Posts: 188
  • nanyu
Re: installing GUI components
« Reply #1 on: November 19, 2008, 05:04:53 am »
1. download ..install...compile the wxWidgtets.
2. now , try a wxWidgets project wizards  with wxSmith.

jape

  • Guest
Re: installing GUI components
« Reply #2 on: November 20, 2008, 08:50:27 pm »
Thanks for the feedback nanyu.

Unfortunately things aren't quite as easy as you suggest and I need some extra help installing wxWidgets, this is all new to me.  I have downloaded wxWidgets and run ./configure and there are some dependencies I haven't been able to resolve.  The root problem I believe is that the OS is based upon a customized version of Fedora 8.

wxWidgets wants the gtk2-devel component, which throws up a number of unresolvable dependencies.  I need to find a way around that.

Can anyone point me to detailed documentation/information on installation to help me resolve this please.

Regards, Jape

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: installing GUI components
« Reply #3 on: November 20, 2008, 09:42:50 pm »
jape: you'll most likely find more useful help on either the wxwidgets mailing list or by contacting your distro maintainers. if you want to go the compiling wxwidgets route you're pretty much hosed without gtk development packages. maybe you can find pre-built wx libs and headers somewhere?
« Last Edit: November 20, 2008, 09:59:39 pm by dmoore »