For the C + + GUI, the previous period of time using the QT,QT use of simple, but also very object-oriented, but do not like the abscess of QT, heard the same cross-platform wxwidgets small and fast, start to try Wxwidgets as a hobby, but for the novice installation is really troublesome, Without the official installation documentation, it took me a day to try to succeed.
Environment
Windows7 x64,codeblocks13.12,wxwidgets3.0.1
Steps
1, installation Codeblocks, official website: http://www.codeblocks.org, download installation files directly installed, Codeblocks cross-platform, based on wxwidgets, small and fast;
2, download wxWidgets3.0.1 compiled library and header files, (the compiled library covers more lib, and if you compile release and debug two version compiled one hours,
And the compiled Lib is not complete), official website: http://www.wxwidgets.org, a total of three files
wxmsw-3.0.1_gcc471tdm_dev.7z
wxmsw-3.0.1_gcc471tdm_releasedll.7z
wxwidgets-3.0.1_headers.7z
3, decompression wxwidgets and stored in a directory, and modify the Gcc471tdm_dll folder named Gcc_dll,
Get folder D:\ProgramFiles\wxWidgets\lib\gcc_dll and D:\ProgramFiles\wxWidgets\include
4, Configuration Codeblocks
1) configuration values for WX in Settings->global variable
Base D:\ProgramFiles\wxWidgets
Include D:\ProgramFiles\wxWidgets\include
Lib D:\ProgramFiles\wxWidgets\lib
2) Settings->compiler->linker Settings Add all lib files, such as D:\ProgramFiles\wxWidgets\lib\gcc_dll\libwxbase30u_ Xml.a
5, the new project, pay special attention to the configuration Options page should check the "use WxWidgets DLL" and "Enable Unicode", do not tick "wxWidgets is built as a monolithic library", The reason is to find the Lib folder is not the same, the former query Gcc_dll, the latter query Gcc_lib, will cause Lib can not find.
Wxwidgets Environment Configuration under Windows