title: Linking errors when compiling code with OpenCV Libraries
body: <p>I'm trying to compile a sample program after installing Opencv with the command:</p>
  
  <pre><code>g++ hello-world.cpp -o hello-world -I /usr/local/include/opencv -L /usr/local/lib -lm -lcv -lhighgui -lcvaux
  </code></pre>
  
  <p>however, I'm getting an error that says:</p>
  
  <pre><code>/usr/bin/ld: cannot find -lcv  
  /usr/bin/ld: cannot find -lhighgui  
  /uer/bin/ld: cannot find -lcvaux
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>What do I need to do to correct this?? I installed opencv by downloading the latest stable version and using cmake to create the build files, then ran make install from the command line.</p>
  
  <p>Was there anything I may have missed?</p>