[Gdal-dev] CreateCopy into buffer

Frank Warmerdam warmerdam at pobox.com
Thu Dec 1 11:58:49 EST 2005


On 12/1/05, Curt, WE7U <archer at eskimo.com> wrote:
>
> > ERROR 1: CPLVerifyConfiguration(): byte order set wrong.
> >
> > Abort trap
> >
> > Any Ideas on this problem ?
>
> It looks like it could be libgeotiff or libgdal/ogr that is bringing
> the CPL stuff in.  Are there any known problems with MacOSX and the
> CPL code?

Curt,

I haven't run into this before.  Basically it indicates
that the CPL_LSB / CPL_MSB macros were set wrong
in cpl_config.h by configure.  Is there any possibility
that a cpl_config.h got copied with the source from
a little endian system?

Looking at the code, I see that CPLVerifyConfiguration()
is called for every CPLMalloc() call.  Yikes!

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