title: openCV: The function is not implemented
body: <p>Trying to run a python script and it throws the following error:</p>
  
  <pre><code>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 cvDestroyAllWindows, file /io/opencv/modules/highgui
   /src/window.cpp, line 577
  Traceback (most recent call last):
    File "/home/ldsvm/PycharmProjects/tagging/C1_DrawBboxesOnImages.py", line 
    116, in &lt;module&gt; cv2.destroyAllWindows()
  cv2.error: /io/opencv/modules/highgui/src/window.cpp:577: 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  
   cvDestroyAllWindows
  </code></pre>
  
  <p>I have installed the <code>libgtk2.0-dev</code> and <code>pkg-config</code> and reinstalled <code>opencv3</code> but still get the same error.</p>
  
  <p>I am on CentOS.</p>