[Gdal-dev] CreateCopy into buffer

Curt, WE7U archer at eskimo.com
Thu Dec 1 12:20:52 EST 2005


On Thu, 1 Dec 2005, Curt, WE7U wrote:

> 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.

Looks like we still include "cpl_string.h" in our sources even
though we don't need it currently.  I can suggest that the user try
commenting that line out to see if the problem goes away for him.
We still don't call CPLVerifyConfiguration() directly so I suspect
this won't fix his particular problem.  It must be getting called
indirectly via one of the libraries.

--
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