2013.10.31 19:42 "Re: [Tiff] Definitions of TIFFFieldArray and TIFFField", by Steve Underwood
On 09/01/2013 10:20 PM, Steve Underwood wrote:
> The types TIFFFieldArray and TIFFField are not fully defined in the > header files which are installed when you build and install libtiff
> 4.0.3. This means you need to add tif_dir.h to the system to make use of > the TIFFReadCustomDirectory() and TIFFCreateCustomDirectory() functions.
> I tried the latest CVS code, and the same issue seems to be present > there, too. Was it intentional that tif_dir.h not be installed, and if
> so how is it expected that TIFFReadCustomDirectory() and
> TIFFCreateCustomDirectory() be used?
Can whoever added TIFFCreateCustomDirectory() support to libtiff comment on this issue, please? I would really like to know how I am intended to use it. Will a future version of libtiff install everything that is needed to build an application that uses TIFFCreateCustomDirectory()? Am I expected to fudge things for all time?
I am preparing to release a version of my code which makes use of TIFFCreateCustomDirectory(), and I would really like to be able to do a couple of checks in configure.ac to verify that the installed libtiff is new enough to support TIFFCreateCustomDirectory(), and have the code build reliably.