[Gdal-dev] CreateCopy into buffer

Curt, WE7U archer at eskimo.com
Thu Dec 1 12:04:34 EST 2005


On Thu, 1 Dec 2005, Frank Warmerdam wrote:

> On 12/1/05, Curt, WE7U <archer at eskimo.com> wrote:
> >
> > > ERROR 1: CPLVerifyConfiguration(): byte order set wrong.
>
> 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?

If so, it came along with one of libproj, libshp, libgeotiff, or
libgdal, not with our application's source.  Nothing like that in
our releases or in CVS.


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

Must be in one of the libraries, 'cuz again it's not in our sources.
We don't appear to call any CPL stuff directly.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Gdal-dev mailing list