[Gdal-dev] CreateCopy into buffer

Frank Warmerdam warmerdam at pobox.com
Thu Dec 1 17:25:25 EST 2005


On 12/1/05, Curt, WE7U <archer at eskimo.com> wrote:
>
> What would help figure this out?  GDAL's config.log file from the
> affected system?  config.h?

Curt,

Well, start by looking at the cpl_config.h and check for
WORDS_BIGENDIAN.  On a bigendian system like a
MacOS X one, the cpl_config.h file should #define
WORDS_BIGENDIAN.

If instead it look like this:
/* Define if your processor stores words with the most significant byte
   first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */

then either something went wrong with configure, or something
was copied around inappropriately.

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