Skip to main content
  • Log in
  • Manage Cookies
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
    • Search

  1. Home
  2. Marketplace
  3. Tools
  4. Pkg-config support for Eclipse CDT

Pkg-config support for Eclipse CDT

Pkg-config support for Eclipse CDT
16
13
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
Photon (4.8)
2018-09 (4.9)

https://raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml

Learn more...

Screenshot 0

Details Group Tabs

Details

Provides automation of configuration needed for projects using pkg-config, such as GTK+ and gtkmm. Pkg-config utility outputs the necessary options needed to build a given package(s) that can be passed as compiler options.

Pkg-config support will set compiler and linker flags automatically that GCC needs to build selected packages - specifically includes, libraries, and some other GCC flags.

Cross platform support

Project can be held in a version control system and even if the packages have been selected in Linux, pulling the project in Windows will automatically update the flags (file-system paths etc).

Cross compilation environment support

Pkg-config plugin configuration is now per-project configuration rather than a global configuration. Path to the pkg-config binary can be set per-project.

UI Features

Property page

Used to select packages and set pkg-config configurations.

How to use

Find Pkg-config settings in project properties -> C/C++ Build -> Settings -> Pkg-config tab
Select packages that your project needs to build correctly. Under Advanced dialog you can set path to pkg-config utility and adjust the path with your custom parameters if you wish.

Requirements

* Pkg-config utility installed * Libraries you need (e.g. gtk+, gtkmm) * For Windows: MinGW or Cygwin * CDT 8.0 and Eclipse 3.7.x (Indigo) or newer

Update site

https://raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml

Development site

https://github.com/TuononenP/pkg-config-support-for-eclipse-cdt

Mailing list

http://groups.google.com/group/pkg-config-support-for-eclipse-cdt
pkg-config-support-for-eclipse-cdt@googlegroups.com

Note:

If you are having problems installing it is most probably because of not having CDT 8.0 or above.

Windows users: Do not install Gtk+ or Gtkmm in a path containing spaces, because pkg-config does not support spaces in paths.

Categories:
  • Build and Deploy
Tags:
  • pkg-config
Additional Details
Eclipse Versions: 
Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), Photon (4.8), 2018-09 (4.9)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Petri Tuononen
Development Status: 
Production/Stable
Date Created: 
Fri, 2011-06-10 07:53
License: 
EPL
Date Updated: 
Mon, 2019-02-04 13:56
Submitted by: 
Petri Tuononen
Screenshots
Screenshot 0
Metrics
DateRankingInstallsClickthroughs
September 2023220/66392 (0.03%)11
August 2023207/67396 (0.03%)15
July 2023207/669100 (0.03%)11
June 2023204/670109 (0.03%)8
May 2023199/672124 (0.04%)7
April 2023194/668129 (0.04%)7
March 2023217/688121 (0.03%)8
February 2023206/668119 (0.04%)13
January 2023180/677157 (0.05%)7
December 2022223/805113 (0.03%)15
November 2022250/80894 (0.02%)12
October 2022265/81182 (0.02%)16
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 1

CountError Message
1操作を続行できません。 別のインストール操作が進行中です。
Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for Pkg-config support for Eclipse CDT.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Saturday, September 30, 2023 - 19:21

Reviews Sign in to post reviews

vblaeni's picture

Pkg-config support for Eclipse CDT 1.0.0

Submitted by Vasilije Blaženi on Mon, 2021-07-12 08:59

Correction of my previous comment: I've succesfully installed pkg-config on Eclipse CDT 2021-06, but not by drag-and-drop method, but clicking on Install button after finding pkg-config on Eclipse Marketplace from Help menu.

I've successfully installed pkg-config plugin on Eclipse CDT 2020-09. I don't know if it does matter, but I've updated Eclipse CDT 2020-09 previously.

vblaeni's picture

Re: Pkg-config support for Eclipse CDT 1.0.0

Submitted by Vasilije Blaženi on Tue, 2021-07-13 06:25

The second paragraph fell in by mistake. I'm sorry.

vblaeni's picture

pkg-config on Eclipse CDT 2021-06

Submitted by Vasilije Blaženi on Mon, 2021-07-12 08:05

I couldn't install pkg-config on Eclipse CDT 2021-06 under Debian 10.10 :-(

vblaeni's picture

pkg-config on Eclipse CDT 2020-09

Submitted by Vasilije Blaženi on Thu, 2020-10-29 21:33

I've successfully installed pkg-config plugin on Eclipse CDT 2020-09. I don't know if it does matter, but I've updated Eclipse CDT 2020-09 previously.

vblaeni's picture

Re: pkg-config on Eclipse CDT 2020-09

Submitted by Vasilije Blaženi on Fri, 2020-11-06 16:49

I've just installed the Eclipse CDT 2020-09 again, and the pkg-config too, without updating Eclipse CDT previously.

aranch's picture

Eclipse CDT 2018-09 last ?

Submitted by Anne Ranch on Sat, 2020-07-25 15:20

Any chance to "upadate" to current WORKING 2020-03 version?

Not sure if I can "import" from 2018-09 at any form - source , execuable . library .

 

 

pocker's picture

pkg-config plugin omitting letters on -I include dirs

Submitted by P Ocker on Tue, 2019-01-01 18:58

For example on compilation -IC:/msys64/mingw64/include/gtkmm-3.0 becomes -IC:/m y 64/mingw64/include/gtkmm-3.0. The library -l s (ells) are good and are listed/indexed under linker libraries.

I worked round (hacked) by creating a settings XML file from pkg-config output on the command line and importing same to the Eclipse project. This hack is not maintainable though.

I had used Mysys2 to install Mingw , Cygwin , gtk ... all up to date newest stable version and the problem is repeated on both tool chains.

Any suggestions to fix? Ta

hmendonca55e's picture

Installation error

Submitted by Henrique Mendonca on Tue, 2018-11-20 21:26

Eclipse 2018-09 and Oxygen gives me "Unable to read repository at https :// raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml/content.xml."

infact browsing https :// raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml/content.xml gives me a 404 :(

I tested it in Neon on

I tested it in Neon on Fedora23. When I activate the pkg-config option is project's properties. The include paths and libraries does not work. But it works in Mars and Luna edition.

wrouesnel's picture

Can't install as of 2013-10-31

Submitted by Will Rouesnel on Wed, 2013-10-30 11:00

The update site links to petrituononen.com, which is not serving content as of the date in the subject line.

kkhrushchinskiy's picture

Alternative update site (as of March 2016)

Submitted by Kirill Khrushchinskiy on Sat, 2016-03-26 10:33

raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml

skaufmann's picture

Awesome

Submitted by Simon Schultze-Florey on Tue, 2011-12-06 17:57

This plugin saved my day. Thanks!

mmisingnameust's picture

Excellent plug-in

Submitted by Missing name Mising name on Sat, 2011-06-18 11:34

This is a must have. I can't do without it.
Keep up the good work.

Markets

  • Eclipse Project (4)
  • Tools (1342)
    • Application Development Frameworks (171)
    • Application Management (32)
    • Application Server (31)
    • BIRT (10)
    • Build and Deploy (104)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (117)
    • Collaboration (37)
    • Database (44)
    • Database Development (34)
    • Database Persistence (17)
    • Documentation (60)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (10)
    • Editor (339)
    • Entertainment (14)
    • General Purpose Tools (124)
    • Graphics (34)
    • IDE (344)
    • Internet of Things (IoT) (35)
    • J2EE Development Platform (44)
    • J2ME (5)
    • Languages (155)
    • Linux Tools (19)
    • Logging (22)
    • Mobile and Device Development (49)
    • Modeling (90)
    • Modeling Tools (146)
    • Mylyn Connectors (20)
    • Network (14)
    • Other (74)
    • Process (18)
    • Profiling (22)
    • Programming Languages (100)
    • Reporting (32)
    • Rich Client Applications (39)
    • Science (4)
    • SCM (20)
    • Search (42)
    • SOA Development (15)
    • Source Code Analyzer (99)
    • Systems Development (59)
    • Team Development (54)
    • Testing (90)
    • Tools (568)
    • UI (97)
    • UML (40)
    • Web (90)
    • Web Services (31)
    • Web, XML, Java EE and OSGi Enterprise Development (32)
    • XML (29)
  • IoT (172)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
  • RCP Applications (79)
  • Training & Consulting (53)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • Eclipse m2e- Maven support in Eclipse IDE
  • Code Confidence Tools for eCos
  • Code Confidence Tools for FreeRTOS
  • Arduino Create Eclipse Plug-in
  • cmake4eclipse

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top