vermaneerajin / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

Wrong JPEG library version #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. compile leptonlib-1.65 according README.html
2. compile prog
3. run ./threshnorm_reg: 
Wrong JPEG library version: library is 80, caller expects 62
Error in pixReadStreamJpeg: internal jpeg error
Error in pixReadStream: jpeg: no pix returned
Error in pixGetInputFormat: pix not defined
Error in pixRead: image not returned
Error in ./threshnorm_reg: pixs not made

What version of the product are you using? On what operating system?
Mandrivalinux 2010, libjpeg8 (most of the sw is build against libjpeg8 or
libjpeg7 so I can not downgrade to libjpeg6)

Original issue reported on code.google.com by zdpos...@gmail.com on 16 Apr 2010 at 2:19

GoogleCodeExporter commented 8 years ago
In meantime I found solution ;-):
I replace jpeglib.h from leptonlib source with link to system jpeglib.h
(/usr/include/jpeglib.h), recompiled leptonlib and than it works.

Original comment by zdpos...@gmail.com on 16 Apr 2010 at 3:40

GoogleCodeExporter commented 8 years ago
The jpeg library has been stable at 62 for years.
I knew that 7 was out (as an interim version), but
didn't realize that 8 is now available.

The best solution for leptonica is to remove the special
version of jpeglib.h 62 from the distribution.

Thanks for pointing out the problem.

Original comment by dan.bloo...@gmail.com on 16 Apr 2010 at 4:05

GoogleCodeExporter commented 8 years ago
Hi all leptonica lovers and coders,

Thanks for this nice library for computer visioners. I've completely compiled
Leptonica-1.65 including libgif, libtiff, libjpeg, zlib and libpng libraries. In
addition, i aimed to convert headers to use in Delphi ( pascal ). in my 
experiments,
my first triyings are successfull to read images from disk/ and some simple
operations to use pix format.
Thanks for all.

Original comment by fatih...@gmail.com on 8 May 2010 at 8:23

GoogleCodeExporter commented 8 years ago
1.66 is released.

all jpeg header files have been removed from src
(one of them is "*.hide", which is effectively removed).

Nice to have this old cruft out of there.

Original comment by dan.bloo...@gmail.com on 11 Aug 2010 at 7:47