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

BABA Yoshihiko baba.yoshihiko at gmail.com
Fri Oct 7 01:05:31 EDT 2005


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




More information about the Gdal-dev mailing list