title: How to properly install OpenCV on Ubuntu?
body: <p>I'm trying to install OpenCV 2.2.0 on Ubuntu 12.04, but I'm getting this error:</p>
  
  <pre><code>torul@torul-HP-Compaq-8200-Elite-CMT-PC:~/OpenCV-2.2.0/opencv.build$ make 
  
  make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/rand.o] Error 1
  make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
  make: *** [all] Error 2
  </code></pre>
  
  <p>Could anyone tell me, what am I doing wrong (why am I getting the above error) ?</p>