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?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
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
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.
SOLUTION that worked for me:
sudo apt-get install --reinstall pkg-config cmake-data