I have been building freerpd client for Eclipse in Ubuntu 14.04 but an error is popping up
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
when I use CMake 2.8. How can I get rid of it? Help me please. Thanks in advance
|
I have been building
when I use CMake 2.8. How can I get rid of it? Help me please. Thanks in advance |
||||
|
I ran into this nuts problem while compiling opencv. The problem is that CMake is not finding the pkg-config executable. Fix like this: 1)In ubuntu terminal,
You will get "usr/bin/pkg-config" if it's installed 2) Add
to your Cmake file, or in your build directory, run "cmake-gui" to add it using the GUI. Now, Cmake will find the pkg-config. |
|||
|
|
|
Try:
|
|||||||||||||||||
|
cmake-datapackage, have managed to delete some files it contains, or Eclipse is using a different cmake than comes in Ubuntu, or is messing with the default modules path environment of cmake. – dobey Jan 5 '16 at 17:27sudo apt-get install --reinstall pkg-config cmake-datahelp, in case any of their files were corrupted? – David Foerster Jan 5 '16 at 22:50