[gdal-dev] RedHat build error: `TIFFFreeDirectory' was not declared in this scope

Frank Warmerdam warmerdam at pobox.com
Fri Nov 21 15:40:12 EST 2008


Lucena, Ivan wrote:
> ...
> Error:
>  gt_overview.cpp:75: error: `TIFFFreeDirectory' was not declared in this scope
>  gt_overview.cpp:75: warning: unused variable 'TIFFFreeDirectory'
>  make[2]: *** [../o/gt_overview.o] Error 1
>  make[2]: Leaving directory
>  `/home/joe/GDAL/gdal-svn-trunk-2008.11.20/frmts/gtiff'
>  make[1]: *** [gtiff-install-obj] Error 2
>  make[1]: Leaving directory
>  `/home/joe/GDAL/gdal-svn-trunk-2008.11.20/frmts'
>  make: *** [frmts-target] Error 2
> 
> We tried something like that to try to avoid the use of other libtiff on the system:
> 
> % ./configure --prefix=/home/joe/utils/gdal --with-libtiff=/home/joe/GDAL/frmts/gtiff/libtiff --with-
> geotiff=/home/joe/GDAL/frmts/gtiff/libgeotiff

Ivan,

If others haven't already mentioned it, use --with-libtiff=internal.

I have filed a ticket on this issue.  It is my intention that the GTiff
driver should build and mostly work with older libtiff's.

   http://trac.osgeo.org/gdal/ticket/2699

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list