Windows Eclipse + MinGW + Glade + GTK + Environment setup

Source: Internet
Author: User
Tags gtk

This article mainly introduces the construction of the GTK + development environment under Windows, by installing plugins in Eclipse Pkg-config support for Eclipse CDT makes development flexible and easy;

First step: Install MinGW, install glade (do not repeat);
Step two: Download the gtk+-bundle_3.6.4-20130921_win32.zip and unzip it into a directory (e.g. E:\GUI\GTK), and according to the GTK directory of XXX. README.txt file configuration path;
Step three: Download Eclipse-java-indigo-sr2-win32.zip (Indigo V3.7 version) and unzip it;

Fourth step: Run the Eclipse program, click Help→eclipse Marketplace, enter "Pkg-config support for Eclipse CDT" in the Find text box and press ENTER, and click "Install" to mount the plugin. Such as:


Fifth Step: Click File→new→c Project, enter the project name, select "Hello World GTK + Project", select "MinGW GCC" and click "Finish", such as:


Sixth step: Right-click the project, select "Properties", the left side of the "C + + Build" →settings, select the right "Pkg-config", tick the necessary packages, click "Apply" → "OK", such as:


Seventh Step: Click Compile, execute, output the running result, such as:

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.