Find file
1e48ef7 Jul 3, 2012
27 lines (19 sloc) 858 Bytes
First, read the file PATENTS in the same directory as this file.
Fetch leptonica from its website ( and build it.
For this you will also need the standard libtiff, libpng and libjpeg.
If you're running a Unix-like OS, such as Linux, BSD, Mac OS X or msys
just run:
make install (or sudo make install)
VC++ 2008 Notes
Download from and unpack it so 'include', 'lib' and
'jbig2enc' directories are at the same directory (or adjust include path
in VC++ project).
Download stdint.h for Microsoft Visual Studio (part of package from
and place it to 'include' directory.
Them open vs2008/jbig2enc.sln in Visual C++ 2008 and build solution.