User forums > General (but related to Code::Blocks)

wxWidgets even worth it?

(1/5) > >>

algumacoisaqq:
Well, several times I have tried to use wxWidgets, but I aways find the instalation very confusing and dificult, so I never really installed it. The thing is, should I even bother at trying to do it? I mean, all I wanted was some kind of tool were I could build a windowed program without hard-coding all the buttons and such, but I never found a way to do this. Maybe wxWidgets was suposed to be it, but why can't I just download something that installs it for me? It just looks easyer to hard code my window then to install that thing.

Any toughts? Thanks!

cprgmswr2:
I made a c++ program that has a visual basics interface and then it spits out all the source code so you don't have to hand code the coordinates. I have found though that no one seems to care for a program like that though. The program uses pure win32 API

BigAngryDog:
>wxWidgets even worth it?

In my opinion, yes.

Admittedly, the install procedure could (and should) be improved. Initially, I had difficulties but put them down to my own inexperience and stuck with it. I now find it builds easily with both GCC/C:B and VC2005. But like most things, it's easy when you understand it, but for was really confusing at first.


>all I wanted was some kind of tool were I could build a windowed program without hard-coding all the buttons and such

In this case, perhaps, wxWidgets is not what you're looking for. wxWidgets is a C++ class library, and on its own, it is not a drag and drop design time GUI construction tool. There are projects around which intend to provide a Delphi-like IDE which will integrate with your C++ IDE, but personally, I find it easier (and more reliable) to hard-code my interface stuff.


>It just looks easyer to hard code my window then to install that thing.

With what? WinAPI/MFC? I believe it would be worthwhile working through your installation difficulties.

If you find it helpful, here is a link to my first wxWidgets project, which includes source code & documentation.

http://www.bigangrydog.com/celest/index.htm

IMHO if something is too easy, it ain't worth it. So, in short, yes, wxWidgets is worthwhile. :)

Michael:

--- Quote from: algumacoisaqq on July 10, 2006, 09:07:22 pm ---Well, several times I have tried to use wxWidgets, but I aways find the instalation very confusing and dificult, so I never really installed it. The thing is, should I even bother at trying to do it? I mean, all I wanted was some kind of tool were I could build a windowed program without hard-coding all the buttons and such, but I never found a way to do this. Maybe wxWidgets was suposed to be it, but why can't I just download something that installs it for me? It just looks easyer to hard code my window then to install that thing.

Any toughts? Thanks!

--- End quote ---

Hello,

Yes, may be the installation of wxWidgets is at the beginning not so easy, but after some search not so difficult (and you can always ask in the wxWidgets forum :)).

Using wxWidgets for simple task is not so time-consuming (and the wxWidgets book is available for free :)). Moreover, you can try wxSmith (C::B RAD plugin).

Sometime, I have used Qt Designer for the Qt library, which worked fine (at least for Qt version 3.x.x).

Best wishes,
Michael

algumacoisaqq:
Well, thank you guys for the replying!

So I decided to try once more to compile it... but it just didn't worked.

First time, he says he can't find the mingw32-make in the build\msw directory. Ok, so I went into the mingGW\bin\ directory and typed that stuff

mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1  clean

logically I replaced makefile.gcc with c:\wxWidgets\build\msw\makefile.gcc. It beginned compiling only to complain that
config.gcc: Nu such file or directory (but there was the file, I saw it!), and later complaining that
"mingw32-make *** No rule to make target 'config.gcc'. Stop."

Ok, so I comented out the config.gcc from the makefile.gcc. It now told me that he couldn't find the file \..\..\samples\
Ok, so I copied the mingw32-make.exe into the build\msw\ folder, so that he would at least find the correct directories. And then, after showing a bunch of stuff in the screen, he gave me the error that he couldn't found the mingw32-make command (I can't tell precisely what the error was because it was in Portuguese). So I give up.

I just don't get it... this is too damn ridiculously hard. What's the point with all that?

Navigation

[0] Message Index

[#] Next page

Go to full version