[Liblas-devel] libgeotiff / cpl / libspatialreference.hpp changes
Julien Malik
julien.malik at c-s.fr
Mon Nov 15 05:03:22 EST 2010
Hello,
I encountered this bug, as did a lot of OrfeoToolbox users since we
updated to liblas 1.6.0b2.
It affects at least Ubuntu 10.04, 10.10, OpenSuse 11.2, 11.3 and OpenBSD
4.8+
I personnally use ubuntu 10.10 with gdal/geotiff from ubuntugis/unstable
repo, which gives me recent versions (gdal 1.7.2 and geotiff 1.2.5), and
it still does not work.
So currently, gdal/geotiff support in liblas seems broken. I tested with
yesterday's trunk.
Just wanted to know if this problem will be addressed before the next
release ?
Or you will rely on the end-user to hand-modify a geotiff header (which
he may not have access to) ?
Best regards,
Julien
Le 02/11/2010 01:29, Frank Warmerdam a écrit :
> 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,
More information about the Liblas-devel
mailing list