So I'm trying to learn wxWidgets and it seems that Steve Lamerton picked it up pretty quickly so I thought this would be a good place to ask.
What books do you guys recommend, compilers/dev tools, and anything else that I'll most likely need (or find useful) to learn/use wxWidgets. If the cost of these could stay low (especially the compiler, if not free, that would be awesome.
the official book. I find it much easier to understand than the web based documentation and it comes with a free version of Dialog Blocks (google it), that really makes the whole process very easy.
Yours
Steve Lamerton
I was thinking the same thing.
I use CodeBlocks anyway, which I believe is the open-source equivalent to Dialog Blocks.
----
R McCue
PortaBlog Home and My Website
PortaBlog is now officially out of beta!
"If you're not part of the solution, you're part of the precipitate."
I think you're right. The books great any how.
Yours
Steve Lamerton
would be this right? http://www.amazon.com/gp/product/0131473816/104-0190369-8086361
Also, can I use the Portable wx-Dev Cpp that I downloaded from PortaSoft.org. And if so, how do I get that running, since I downloaded the .pdf of that official book from the wxWidgets site.
thats the book. As for wx-DevCPP, check out their website. If you still can't figure it out then ask again later.
Yours
Steve Lamerton
Right now when I'm compiling I'm getting there errors:
[Linker error] undefined reference to 'WinMain@16'
ld returned 1 exit status
[Build Error] [minimal.exe] Error 1
Not sure what's wrong. Any help would be appreciated.
If you're compiling a Windows GUI application (as opposed to a console app), you need to use a function called WinMain in place of the standard main. The prototype for WinMain is as follows:
Note that you also have to #include <windows.h>, but I'm figuring you already knew that (and wxWidgets probably automatically includes it, anyway).
-
Lauren She eats everything! It's like having a goat. A giant, two-Godzillaton goat.
maggie Hey, I resent that remark! I only weigh ONE Godzillaton!
~ Spectacles: Bruce's Story
Hmmm, I'm not sure. It compiles every other apps so I think I'm okay.
Look through the code for those other apps. See if you can find anything in them that's missing from the one that won't compile and figure it out through process of elimination. It's called troubleshooting. Figuring out things the hard way might be a royal pain in the neck, but you learn more from it in the long run.
-
Lauren She eats everything! It's like having a goat. A giant, two-Godzillaton goat.
maggie Hey, I resent that remark! I only weigh ONE Godzillaton!
~ Spectacles: Bruce's Story
Well, I rewrote the code a different way to do the same thing, so that's why I'm okay.