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.x…
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: Friday, June 10, 2011 - 07:53
License: EPL
Date Updated: Monday, February 4, 2019 - 13:56
Submitted by: Petri Tuononen
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
October 2024 | 205/522 | 14 | 1 |
September 2024 | 220/642 | 75 | 8 |
August 2024 | 213/641 | 72 | 20 |
July 2024 | 236/663 | 61 | 21 |
June 2024 | 231/681 | 74 | 15 |
May 2024 | 231/682 | 80 | 22 |
April 2024 | 227/687 | 85 | 25 |
March 2024 | 233/694 | 87 | 17 |
February 2024 | 224/687 | 83 | 7 |
January 2024 | 193/691 | 125 | 7 |
December 2023 | 209/671 | 98 | 15 |
November 2023 | 198/686 | 135 | 11 |
Unsuccessful Installs
Unsuccessful Installs in the last 7 Days: 1
Count | Error Message |
---|---|
1 | Cannot continue the operation. There is another install operation in progress. |
Reviews Add new review
Pkg-config support for Eclipse CDT 1.0.0
Submitted by Vasilije Blaženi on Mon, 07/12/2021 - 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.
Re: Pkg-config support for Eclipse CDT 1.0.0
Submitted by Vasilije Blaženi on Tue, 07/13/2021 - 06:25
In reply to Pkg-config support for Eclipse CDT 1.0.0 by Vasilije Blaženi
The second paragraph fell in by mistake. I'm sorry.
pkg-config on Eclipse CDT 2021-06
Submitted by Vasilije Blaženi on Mon, 07/12/2021 - 08:06
I couldn't install pkg-config on Eclipse CDT 2021-06 under Debian 10.10 :-(
pkg-config on Eclipse CDT 2020-09
Submitted by Vasilije Blaženi on Thu, 10/29/2020 - 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.
Re: pkg-config on Eclipse CDT 2020-09
Submitted by Vasilije Blaženi on Fri, 11/06/2020 - 16:49
In reply to pkg-config on Eclipse CDT 2020-09 by Vasilije Blaženi
I've just installed the Eclipse CDT 2020-09 again, and the pkg-config too, without updating Eclipse CDT previously.
Eclipse CDT 2018-09 last ?
Submitted by Anne Ranch on Sat, 07/25/2020 - 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 .
pkg-config plugin omitting letters on -I include dirs
Submitted by P Ocker on Tue, 01/01/2019 - 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
Installation error
Submitted by Henrique Mendonca on Tue, 11/20/2018 - 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
Submitted by dhuang721 (not verified) on Wed, 08/17/2016 - 21:52
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.
Can't install as of 2013-10-31
Submitted by Will Rouesnel on Wed, 10/30/2013 - 11:00
The update site links to petrituononen.com, which is not serving content as of the date in the subject line.
Alternative update site (as of March 2016)
Submitted by Kirill Khrushc… on Sat, 03/26/2016 - 10:33
In reply to Can't install as of 2013-10-31 by Will Rouesnel
raw.githubusercontent.com/TuononenP/pkg-config.p2/master/site.xml
Awesome
Submitted by Simon Schultze… on Tue, 12/06/2011 - 17:57
This plugin saved my day. Thanks!
Excellent plug-in
Submitted by Missing name M… on Sat, 06/18/2011 - 11:34
This is a must have. I can't do without it.
Keep up the good work.