Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unable to install pkg-config on Eclipse 2019-03 for GTK application development(pkg-config won't install on Eclipse 2019-03 because it's not compatible)
Unable to install pkg-config on Eclipse 2019-03 for GTK application development [message #1807802] Mon, 10 June 2019 05:40 Go to next message
Edgars Zabroda is currently offline Edgars ZabrodaFriend
Messages: 1
Registered: June 2019
Junior Member
Hello Eclipse community!

I'm trying to install pkg-config plugin on Eclipse, but the market place tells me that this plugin isn't compatible on my Eclipse installation. I'm trying to install this plugin so that I could create GTK applications.

I'm using CentOS 7 Linux and Eclipse 2019-03 (4.11.0).

I have installed required packages on the system that I would need to develop those applications, the problem is with Eclipse. I've been searching for the answer for a couple of days and the information i found is outdated for years.

I've tried to update market place, result = no success.
Re: Unable to install pkg-config on Eclipse 2019-03 for GTK application development [message #1807842 is a reply to message #1807802] Mon, 10 June 2019 18:15 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
The problem really is with the third party developers.
You should address this at their support site
https://groups.google.com/forum/#!forum/pkg-config-support-for-eclipse-cdt
https://marketplace.eclipse.org/content/pkg-config-support-eclipse-cdt

I've never used it but it's rather easy to use pkg-config without it.

With Linux anyway. You use it pretty much as you would with the command line,
All you really need to do is add:
`pkg-config --cflags <pkg>` (NOTE: those are back ticks; <pkg> is the package name)
to : Project --> Properties --> C/C++ Build --> Settings --> Tool Settings tab --> <compiler> --> Miscellaneous --> Other flags

Similarly, add: `pkg-config --libs <pkg>` to the linker miscellaneous settings.

Alternately, run it in a terminal window then cut and paste the output.

Here are the C++ compiler settings for opencv
index.php/fa/35722/0/


[Updated on: Mon, 10 June 2019 18:31]

Report message to a moderator

Re: Unable to install pkg-config on Eclipse 2019-03 for GTK application development [message #1808456 is a reply to message #1807842] Tue, 25 June 2019 04:43 Go to previous message
Jacob Smith is currently offline Jacob SmithFriend
Messages: 2
Registered: June 2019
Junior Member
Hello, I have a similar problem with hiding "quick access" in Eclipse 2019-03. Could anyone help?

Previous Topic:Multiple targets error
Next Topic:Unable to install Eclipse IDE
Goto Forum:
  


Current Time: Wed Apr 24 23:42:11 GMT 2024

Powered by FUDForum. Page generated in 0.03324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top