Opencv Installtion

Finally I installed opencv2.4.9 version on our laptop.

The given below link fully guided for installation of opencv . This link have explain all the steps of installation of opencv and why they are used in installing of opencv as step by step.

http://www.samontab.com/web/2014/06/installing-opencv-2-4-9-in-ubuntu-14-04-lts/

Unmet dependencies

After wasted two days on installation of libraries files for opencv I am getting a little bit off help from my elder brother Harman. He is explaining about the versions of libraries files and they also tells that I am not following the latest installation documentation of opencv.

I am trying to install libgtk2.0-dev as mentioned in installation documentation of opencv and error occurred  as

The following packages have unmet dependencies:
  libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
  Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

But when I trying the latest version of libgtk-3-0 all dependencies is solved and it is installed in my laptop.

The below following links which is used in installation of libraries files are given below :

http://www.ubuntuupdates.org/package/core/trusty/main/proposed/libgtk-3-0

https://packages.debian.org/source/sid/gtk+3.0