Skip to content

Instantly share code, notes, and snippets.

@rdmpage
Created October 21, 2015 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdmpage/d7352d416bc6fad05da7 to your computer and use it in GitHub Desktop.
Save rdmpage/d7352d416bc6fad05da7 to your computer and use it in GitHub Desktop.
Compiling leptonica-1.68 and jbig2enc
Need to supply paths to configure
./configure CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
On Mac OX X 10.10.3
Add #include <zlib.h> to line 110 to pngio.c
Need to supply paths to configure
./configure LDFLAGS=-L/usr/local/lib CFLAGS=-I/usr/local/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment