[Gdal-dev] compile error GDAL 1.3.0 [solved]

Dylan Beaudette dylan at iici.no-ip.org
Thu Oct 13 13:55:44 EDT 2005


On Thursday 06 October 2005 10:05 pm, BABA Yoshihiko wrote:
> Hi Dylan
>
> 2005/10/7, Dylan Beaudette <dylan at iici.no-ip.org>:
>
> ...
>
> > I get the error:
> > --------------
> > gcore/gdal_misc.cpp:1308: error: `OGRSpatialReference' undeclared (first
> > use this function)
> > gcore/gdal_misc.cpp:1308: error: (Each undeclared identifier is reported
> > only once for each function it appears in.)
> > gcore/gdal_misc.cpp:1308: error: syntax error before `,' token
> > gcore/gdal_misc.cpp:1311: error: `oSRS' undeclared (first use this
> > function) gcore/gdal_misc.cpp:1312: error: `oSRSGeogCS' undeclared (first
> > use this function)
> > ----------------
>
> Just a quick guess.
>
> Your first post would happen if the header file of older version or of
> another app were in your include directory. I got similar errors when
> updated from 1.2.6 to 1.3.0. Could this be the cause?
>
> --
> BABA Yoshihiko
> GDAL maintainer for Fink/MacOSX

Thanks for all the help to those who responded. Apparently, when we instructed 
the configure script to use external libraries for tiff,jpeg,png,etc the 
compile worked just fine... not sure why.

Thanks,

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341



More information about the Gdal-dev mailing list