Wxwidgets Environment Configuration under Windows

Source: Internet
Author: User
Tags wxwidgets

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.