---- Codeblocks + wxWidgets Introduction
1. codeblocks is open-source, stable, beautiful, cross-platform, supports plug-ins, and is updated in a timely manner. Few lightweight cross-platform ides are available.
2. wxWidgets is an open-source, stable, well-established, free, comprehensive GUI features, and updated in a timely manner. It is also a rare cross-platform GUI framework.
3. codeblocks is written in wxWidgets. It supports wxWidgets development and provides wysiwyg gui visual development tools.
4. lightweight, fast, cross-platform, codeblocks + wxWidgets development combination, very suitable for small projects and small tools.
---- Codeblocks Installation
1. Official http://www.codeblocks.org/
2. Here http://www.codeblocks.org/downloads/26
Download a compiled version of Windows. Download a package such as codeblocks-10.05mingw-setup.exe, which contains the mingw compiler environment and saves you the need to configure the compiler.
3. Download and install it.
4. At this time, you can develop some console command line tools. It is easy for professionals to use the console.
5. The default compiler uses GCC.
---- WxWidgets Installation
1. Official http://www.wxwidgets.org/
2. Only Source Code packages similar to wxmsw can be downloaded on the official website. If there is no pre-compiled package, use a pre-compiled package for development.
3. Download The wxpack package at http://sourceforge.net/projects/wxpack/and select 2.8.x.
4. download and install the SDK, such as location D: \ sourcecode \ libraries \ wxwidgets2.8.
5. wxWidgets is installed.
---- Some questions
1. If the download from the official website is too slow, search for it on the search engine.
2. The default encoding of codeblocks for Windows is Windows-936. to be compatible with the Linux environment and support Chinese characters, the settings are as follows:
(1) settings-> Editor-> General setting-> endcoding
Select UTF-8
(2) settings-> compiler and debugger-> global compiler setting-> other options Tab
Add two rows:
-Finput-charset = UTF-8
-Fexec-charset = UTF-8
(3) represent a Chinese string in the form of _ ("Chinese ")
(4) Replace the font if the actual code is garbled.
3. if you add a control to the interface editor and the compilation fails, it is because you did not select the corresponding components when creating the project,
Select the corresponding component. You can select multiple components and select all components! Of course, if you do not want to use a space with a problem, you can delete it directly in the interface compiler.
Bytes -----------------------------------------------------------------------------------------------------------------
This article is complete.