UbuntuEclipse configuration Gtk + 2.0 library

Source: Internet
Author: User
Directory [-] preface install Gtk: i. Installation 2. View GTK library version 3. Test Program 4. Compile and run gtk + in Eclipse to configure gtk + 4. view the header file target and library file name of GTK + 2.0 in eclipse. add the header file directory and library file name. Set the compilation and connection options: -------------------------------------- split line -----------

Directory [-]

Preface

Install Gtk:

I. Installation

Ii. view the GTK library version

Iii. Test Procedure

Iv. Compile and run

Configure gtk + in Eclipse

A 4 view the header file target and library file name of gtk + 2.0

2. Add the header file directory and library file name in eclipse

3. Set compilation and connection options

Compile and run

Postscript:

-------------------------------------- Split line --------------------------------------

Ubuntu 14.04 LTS install Java 8 and Eclipse 4.4 http://www.linuxidc.com/Linux/2014-11/109217.htm

Hadoop Eclipse plug-in compilation and installation 1.2.0 http://www.linuxidc.com/Linux/2013-07/87428.htm

Hadoop plug-in compilation http://www.linuxidc.com/Linux/2013-04/83295.htm in Eclipse

Hadoop 1.2.1 compile Eclipse plugin http://www.linuxidc.com/Linux/2013-10/91666.htm

Ubuntu 13.10 install JDK, Eclipse for C/C ++ (solve global menu problem) http://www.linuxidc.com/Linux/2013-11/92305.htm

How to install the latest Eclipse http://www.linuxidc.com/Linux/2014-08/105090.htm in Ubuntu 14.04

-------------------------------------- Split line --------------------------------------

Preface

IDE is something we have to do. The vi/vim/emacs + make + gcc/g ++ method is both awesome and efficient, but they are not complicated in configuration, it takes a very long time to use, to replace all ides.

So my choice is:

Use eclipse to write code, gvim to write Makefile, compile and run in shell command line.

Install gtk:

See the following url: http://www.linuxidc.com/Linux/2012-05/59468.htm

I copied this article just in case.

I. Installation

1. Install basic programming tools such as gcc/g ++/gdb/make

Sudo apt-get install build-essential

2. Install libgtk2.0-dev libglib2.0-dev and other development-related library files

Sudo apt-get install gnome-core-devel

3. It is used to automatically find the header file and library file location when compiling the GTK program.

Sudo apt-get install pkg-config

4. Install the devhelp GTK file viewing program.

Sudo apt-get install devhelp

5. Install gtk/glib API reference manual and other help documents

Sudo apt-get install libglib2.0-doc libgtk2.0-doc

6. Install GTK-based interface. GTK is the c/c ++ language graphics library for developing Gnome windows.

Sudo apt-get install glade libglade2-dev

Or:

# Or

Sudo apt-get install glade-gnome glade-common glade-doc

7. Install gtk2.0 or download and install all the files required by gtk + 2.0.

Sudo apt-get install libgtk2.0-dev

Or

Sudo apt-get install libgtk2.0 *

For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2014-11/109797p2.htm

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.