Installing OpenCV on Ubuntu

The following procedure outline the detailed steps needed to install the computer vision library OpenCV on Ubuntu Linux:

    1. Prepare the environment

    1. Only if you want to use python

    1. Problems with libjpeg.so then

    1. You may need this

    1. Get OpenCV from: http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.1/OpenCV-2.1.0.tar.bz2/download
    2. Extract it to some directory for example OpenCV2.1
    3. In order to fix the problem “error: ‘ptrdiff_t’ does not name a type”

  1. In order to fix the problem: “undefined reference to `cvCreateCameraCapture_V4L(int)'”:
  2. In order to fix “fatal error: linux/videodev.h: No such file or directory”
  3. Generate make file
Tags:
One Comment

Add a Comment

Your email address will not be published. Required fields are marked *