A HelloWorld sample needed!
Manuel Martín
mmartin at ceyd.es
Wed Jun 20 12:21:24 PDT 2007
Hi Tony
It seems to me you are not a skilled coder, are you?
Well, if your answer is "no" here is a brief intro:
* You can use wxWidgets in many "flavors" including C++, Python and even
Basic, but C++ is preferred.
* wxWidgets is a "library", a collection of useful tools.
* You need to build the library, and after, build your own application.
* When you execute wxMSW-2.8.4-Setup.exe you get a lot of files, but
none of these are an .exe or .dll or .a or so on.
* You can use many compilers to build the libraries and app.
* Instructions on how you can build, depending on your compiler, can be
found at \docs\msw\install.txt (for a windows port).
* You can build debug/release ansi/unicode versions
* With gcc, I use this:
Be sure you have "make" in your path enviroment
>cd c:\wx284\build\msw
>make -f makefile.gcc BUILD=debug UNICODE=1 RUNTIME_LIBS=static
With mingw, replace "make" with "mingw32-make"
*After a while, you have built the libs. Now try to compile a sample
like "minimal.cpp" using
>cd c:\wx284\samples\minimal
>make -f makefile.gcc BUILD=debug UNICODE=1 RUNTIME_LIBS=static
¿Does it work? It should.
For your own app, think you must teach the compiler about some libs to
use and where they are (this is some of what makefile.xxx is for).
If you use and IDE, I recommend CodeBlocks (last nightbuild).
And you can see a video tutorial downloading from:
http://www.wxwidgets.info/?q=video
HTH
Manolo
More information about the wx-users
mailing list