Configuring the wxWidget3.0.4 development environment in Ubuntu18.04

Source: Internet
Author: User

Preparatory work

Download the latest stable version of wxwidgets-3.0.4.tar.bz2 in https://www.wxwidgets.org/downloads/

Installation dependencies

sudo Install libgtk-3-dev build-essential Checkinstall
Compiling the installation
makesudo

Checkinstall will need to prepare the package description and so on, detailed input and output. Use Checkinstall to generate both the Deb package and the installation details, tips for how to remove in the future

$ sudo checkinstall checkinstall 1.6.2, Copyright Felipe Eduardo Sanchez Diaz Duran This software is Releas Ed under the GNU GPL. The package documentation directory./doc-pak does not exist.  Should I create a default set of package docs? [Y]: Preparing package documentation ... Okplease Write a description for the package. End your description with a empty line or eof.>> wxWidgets library 3.0.4 >> **************************** Debian Package Creation selected *********************************************** warning:the Package name "WxWidgets" contains upper case*** warning:letters. Dpkg might not like the so I-changed*** Warning:them to lower case.  This is built according to these values:0-maintainer: [[email protected]]1-summary: [wxWidgets Library 3.0.4]2-name: [wxwidgets]3-version: [3.0.4]4-release: [1]5-license: [GPL]6-group: [ Checkinstall]7-architecture: [AMD64]8-souRCE location: [wxWidgets-3.0.4]9-alternate source location: []10-requires: []11-provides: [WxWidgets]12-c Onflicts: []13-replaces: []enter A number to change any of the them or press Enter to continue: [Enter]installing with M Ake install...# ... Slightly... Copying files to the temporary directory ... Okstripping ELF binaries and libraries ... Okcompressing man pages ... okbuilding file List ... Okbuilding Debian Package ... Okinstalling Debian Package ... Okerasing Temporary files ... Okdeleting Temp dir ... ok********************************************************************** done. The new package has been installed and saved To/home/milton/backup/linux/wxwidgets-3.0.4/wxwidgets_3.0.4-1_amd64.deb You can remove it from your system anytime Using:dpkg-r wxwidgets************************************************* *********************

Check the installation path

$ dpkg-l WxWidgets

This installation does not follow some Web tutorial tips to increase the/etc/ld.so.conf.d/configuration file and execute sudo ldconfig, but can I compile normally, so ldconfig this step should be unnecessary.

Compiling samples sample

Wxwidgets source code has been brought with a samples sample package, after the installation is complete, you can directly compile the test

$ cd samples/ make

After the compilation succeeds, the subdirectory inside will carry the compiled executable program, such as Popup, Tarskbar, text, Treelist, and so on.

Configuring the wxWidget3.0.4 development environment in Ubuntu18.04

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.