Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
jbig2enc does not compile with Leptonica 1.68 #12
I'm unable to get jbig2enc to compile under Mac OS X, using either 0.27 or the latest source from git. I get the following error message for jbig2.cc:
g++ -o jbig2 jbig2.cc -L. -ljbig2enc
jbig2enc doesn't compile with Leptonica 1.68 only because the parameters to the findFileFormat() function have changed. This function is referenced once, in jbig2.cc, where it's used to check something involving multi-page TIFFs. I don't use jbig2enc to process TIFFs so I just commented out these lines, and then jbig2enc compiled fine.