Setup wxWidgets and Code::Blocks on Windows Vista
Since I’m going to extend my knowledge of programming, I selected wxWidgets as the next target. It has some advantages when comparing with other frameworks:
- cross platform: vs Win32, Cocoa, Gnome, KDE
- can develop commercial applications: vs Qt
- has more features: vs FLTK
- active community
So here’s how to setup wxWidgets on Windows Vista. I assume you already setup MinGW and Code::Blocks.
- download and install wxWidgets: wxMSW-2.8.9-Setup.exe, I installed it to c:\apps\wxWidgets-2.8.9
- endter the directory wxWidgets-2.8.9\build\msw, run the command:
make -f makefile.gcc BUILD=release SHARED=1 MONOLITHIC=1 UNICODE=1 make -f makefile.gcc BUILD=debugSHARED=1 MONOLITHIC=1 UNICODE=1
- after finished, copy wxWidgets-2.8.9\lib\gcc_dll\wxmsw28u_gcc_custom.dll and wxmsw28ud_gcc_custom.dll to c:\windows\system32
- start code::blocks, create a wxWidgets project, when asking wxWidgets Library Settings, check the Use wxWidgets DLL, wxWidgts is built as a monolithic library and Enable unicode
- build and run the project, you should have your 1st wxWidgets applications with wxSmith GUI editor.
Here’s some wxSmith tutorial
No Comments
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.






