Re: compile
Ralph Giles <[email protected]> Sun, 30 Mar 2003 13:03:45 +0100
| Newsgroups | gmane.comp.printing.ghostscript.jbig2dec.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, March 25, 2003, at 09:46 pm, <[email protected]> wrote: > I want to compile jbig2dec in window2k, > program after compiling and start shows error, > i think it because of my libpng contained error. > Where i can find correct libpng or FULL source > code of jbig2dec. The libpng source is available from the sites listed at http://libpng.org/pub/png/libpng.html You also need the zlib source, available through http://www.gzip.org/zlib/ msvc.mak expects that these libraries will be build separately beforehand and available in directories named 'libpng' and 'zlib' on the same level at the jbig2dec source ('../libpng/libpng.lib ../zlib/zlib.lib') You'll need to either put them in those locations or change the path in the makefile. Finally, libpng isn't required, just #undef HAVE_LIBPNG in config_win32.h; in that case the jbig2dec executable will produce PBM files only. There's also some version skew with current CVS, so it may not build on windows. The 0.1 release should work. Hope that helps, -r