WxWidgets development environment Configuration under Linux

Source: Internet
Author: User
Tags gtk wxwidgets

Based on Codeblocks (16.0.1) and WxWidgets (3.0.2), this paper constructs a GUI development environment under Linux.

1. Installing Codeblocks

Ubuntu Default Source Current Codeblocks version is 13.x, for the installation of the latest stable version, the following steps,

$ sudo add-apt-repository ppa:damien-moore/codeblocks-stable

$ sudo apt-get update

$ sudo apt-get codeblocks

2. Download WxWidgets Linux Source Package wxwidgets-3.0.2.tar.bz2

-Extract to any directory, such as ~/wxwidgets-3.0.2 (the package can be deleted after installation is complete)

-Linux Installation instructions in ~/wxwidgets-3.0.2/docs/gtk/install.txt

  -$ ./configure --with-gtk --disable-shared --enable-unicode # compiled into Shared=0, unicode=1, monolithic=0 (default)

The output information is as follows,

==================================================================

Configured wxWidgets 3.0.2 for ' X86_64-unknown-linux-gnu '

Which GUI toolkit should wxWidgets use? GTK + 2 with support for GTK + printing libnotify
Should wxWidgets be compiled intoSingle library?No
Should wxWidgets be linked as aShared library?No
Should wxWidgetsSupport Unicode?Yes(using wchar_t)
What level of WxWidgets compatibility should is enabled?
WxWidgets 2.6 No
WxWidgets 2.8 Yes
Which libraries should wxWidgets use?
STL No
JPEG SYS
PNG sys
Regex builtin
TIFF Sys
Zlib SYS
Expat SYS
Libmspack No
SDL No

==================================================================

-$ Make

  -$ sudo make install

-$ sudo Ldconfig

< Span style= "color: #339966;" > -$ wx-config-- version  < Span style= "color: #339966;" >  (Should output 3.0.2, indicating successful installation) < Span style= "color: #339966;" >

  

WxWidgets development environment Configuration under Linux

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.