[Gdal-dev] libgeotiff - build as dll

Frank Warmerdam warmerdam at pobox.com
Mon May 29 15:47:15 EDT 2006


Folks,

Anyone who has tried to build the MrSID plugin on windows for GDAL while
using the builtin copy of libgeotiff will have run into problems in the past.
This was due to use of libgeotiff interfaces (for PCSToMapSys for instance).

I have modified gdal/frmts/gtiff/libgeotiff/makefile.vc so that
BUILD_AS_DLL is defined while the internal libgeotiff is built.  This
causes all libgeotiff public interfaces to be exported from the GDAL
DLL,  This fixes the MrSID problem and does provide a convenience to
some folks who want to use libgeotiff from within GDAL.  However, it
potentially could result in conflicts in some cases.

Note, on linux/unix all internal library interfaces are exported
automatically.  There is no control of this.  So if you think of it that
way, we have brought the windows build more into line with what is done
on unix, generally a good thing.

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    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list