title: How to uninstall opencv in Ubuntu?
body: <p>I have the following system: </p>
  
  <p>Linux 64 bit LTS 12.04 </p>
  
  <ol>
  <li>I have multiple installations of opencv library on the system.</li>
  <li>I want to know the procedure to remove all opencv libraries from the system.</li>
  <li>I am having trouble while executing my program through Eclipse IDE.</li>
  </ol>
  
  <p>Though I can build the project when I try to execute it, it gives the following error:</p>
  
  <pre><code>OpenCV Error: Assertion failed (k == STD_VECTOR_MAT) in release, file /build/buildd    /opencv-2.3.1/modules/core/src/matrix.cpp, line 1364
  terminate called after throwing an instance of 'cv::Exception'
  what():  /build/buildd/opencv-2.3.1/modules/core/src/matrix.cpp:1364: error: (-215) k == STD_VECTOR_MAT in function release
  </code></pre>
  
  <p>Confusing thing is I am not able to find the path specified in the error i.e. </p>
  
  <pre><code>/build/buildd/opencv-2.3.1/modules/core/src/matrix.cpp
  </code></pre>
  
  <p>I am able to compile the same source code using command line tool gcc and using pkg-config. 
  However I am unable to do the same through eclipse IDE.</p>