title: OpenCV Eclipse configuration in linux
body: <p>I want to configure eclipse-cdt for opencv in ubuntu. I followed the tutorial <a href="http://docs.opencv.org/doc/tutorials/introduction/linux_eclipse/linux_eclipse.html" rel="nofollow">Using OpenCV with Eclipse (plugin CDT)</a>. However, I was ended up with error message </p>
  
  <blockquote>
    <p>fatal error: cv.h: No such file or directory  DisplayImage.cpp    /opencvtest line 1  C/C++ Problem</p>
  </blockquote>
  
  <p>I checked my configurations as indicated in the tutorial. Everything was fine except the information in 8.b.</p>
  
  <p>As tutorial says for <code>pkg-config --libs opencv</code>, the output should be, </p>
  
  <blockquote>
    <p>-L/usr/local/lib -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann</p>
  </blockquote>
  
  <p>But in my case the output was,</p>
  
  <blockquote>
    <p>/usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_softcascade.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so</p>
  </blockquote>
  
  <p>Can anyone help me to fix this problem.</p>
  
  <p>Thank you in advance.</p>