[Liblas-devel] libgeotiff / cpl / libspatialreference.hpp changes

Frank Warmerdam warmerdam at pobox.com
Mon Nov 1 20:29:20 EDT 2010


Folks,

I an effort to resolve some "cross heap corruption" issues when
libgeotiff and liblas have distinct heaps on win32 I have taken the
step of removing the include of geo_tiffp.h and cpl_serv.h from
lasspatialreference.hpp.

If you are using the a libgeotiff older than a few minutes ago, then you
will likely find build problems due to geo_simpletags.h pulling in cpl_serv.h.
It will manifest as duplicate definition compile errors on stuff like CPLErr
as I recall.

The solution is to either upgrade to the very latest libgeotiff from SVN
or to manually edit the geo_simpletags.h from libgeotiff that you are
using and comment out the include of cpl_serv.h.

I'm sorry for the inconvenience.

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 Liblas-devel mailing list