Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

If you have problems downloading any of the packages or libraries required, try changing the server which apt-get or Synaptic use. In our experience, mirror.csclub.uwaterloo.ca/ubuntu was good.

The easiest way to change the download server is to use Synaptic Package Updater and change the repository location. Remember to Refresh in order for the changes to apply.

1. Installing iulib

  • Download iulib 0.3 package from iulib's google code page. http://code.google.com/p/iulib/
  • Get any missing libraries, run: sudo apt-get install libpng12-dev libjpeg62-dev libtiff4-dev libavcodec-dev libavformat-dev libsdl-gfx1.2-dev libsdl-image1.2-dev
      First run
      • if you get errors downloading any of these libraries, change your package download server. See the note at the top of this document.
    • Run: sudo scons install. (This will help avoid an error in the next step. Make sure to have scons installed.)
    • Then run Run: sudo make installError:
    Note

    You may get the following error:

    Code Block
    
    ./vidio/vidio.cc:484 error: cannot convert 'ByteIOContext**' to 'ByteIOContext*' for argument '1' to 'int url_fclose(ByteIOContext*)'

    ...

    
    

    To fix this, change Line 484 from url_fclose(&oc->pb); to url_fclose(oc->pb);

    ...

    2. Installing Tesseract

    ...