On Mon, 26 May 2014 19:43:49 +0100, Dominik Vogt wrote:

>First, I get three compile errors when building (on a Debian 32-bit
>system):

I use SLACKWARE-14.0, a 64-BIT distribution; no 32-bit, no '-m32'.

'configure' shows:

        your configuration

--enable-openjpeg.....: no
--enable-libjpwl......: no
--enable-openjpeg-mj2.: no
--enable-jasper.......: no
--enable-jpeg.........: yes <==
--enable-mng..........: no
--enable-png..........:
--enable-tiff.........: yes <==
--enable-netpbm.......: no
--enable-lcms2........: yes <==
--enable-lcms1........: no
--enable-tga..........: no
--enable-dicom........: no
--with-language.......: english
use threads...........:

The library 'tiff-4.0.3' has a 'libtiff-4.pc' file for 'pkg-config'.
Older versions do not have this file.

Therefore the tiff-library you use (3.9.6) is not found because

#ifdef HAVE_LIBTIFF

is not activated. Therefore 'TIFF.hh' is hidden; but 'TIFF.hh' 
contains 'extern void TIFF_free_read_info();': a local function
found in 'TIFF.cxx', not in 'libtiff'.

But 'configure' contains:

  --enable-tiff
  --with-tiff-includes=DIR   TIFF includes in nonstandard DIR
  --with-tiff-libraries=DIR  TIFF library in nonstandard DIR

so that libtiff could be found and

#ifdef HAVE_LIBTIFF

could be activated.

And 'configure' contains:

  --endable-jpeg
  --with-jpeg-includes=DIR    JPEG includes in nonstandard DIR
  --with-jpeg-libraries=DIR   JPEG library in nonstandard DIR

so that libjpeg could be found and

#ifdef HAVE_LIBJPEG

could be activated. I use jpegsrc.v09a .

That is all this minimal version can show: TIFF and JPEG images.

JPEG images can be downloaded from

 http://home.arcor.de/szukw000/JPG_IMAGES.tar.xz

winfried

Reply via email to