title: OpenCv program is not able to run ; pkg-config is hashed
body: <p>I am working with opencv libraries. When I run my project, I get following error:</p>
  
  <p>OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file /home/krathi/softwaresetup/opencv-2.4.9/modules/highgui/src/window.cpp, line 483
  terminate called after throwing an instance of 'cv::Exception'
    what():  /home/krathi/softwaresetup/opencv-2.4.9/modules/highgui/src/window.cpp:483: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvNamedWindow</p>
  
  <p>When I go to terminal and type "type pkg-config" I get this:</p>
  
  <p>pkg-config is hashed (/usr/bin/pkg-config)</p>
  
  <p>I dont know what this means , but I guess that the access to pkg-config is only to the admin user of my machine. Am I right?</p>
  
  <p>What should I do to fix this error ? Specifically what should I do so that my program can use pkg-config.</p>
  
  <p>Note :I have installed libgtk</p>