[gdal-dev] OGR: GetField methods problem

Anton Patrushev anton at orkney.co.jp
Thu Oct 16 04:38:09 EDT 2008


Oh, my!
I thought I'm replying to the list! Sorry.

My message is quoted below anyway.

Anton.

On 10/16/08, Markus Neteler <neteler at osgeo.org> wrote:
> Hi Anton,
>
>
>  On Thu, Oct 16, 2008 at 10:12 AM, Anton Patrushev <anton at orkney.co.jp> wrote:
>  > Hi Markus,
>  >
>  > I installed the newer version for Ubuntu and it works flawlessly.
>  > Thank you.
>
>
> Great - please also tell the list :)
>
>  cheers
>  Markus
>
>
>  > On 10/15/08, Markus Neteler <neteler at osgeo.org> wrote:
>  >> Hi Anton,
>  >>
>  >>
>  >>  On Wed, Oct 15, 2008 at 7:04 AM, Anton Patrushev <anton at orkney.co.jp> wrote:
>  >>  > Hi,
>  >>  >
>  >>  > I have a problem with compiling my stuff for RHEL5.
>  >>  > I always get following errors:
>  >>  >
>  >>  > /usr/include/ogr_feature.h undefined reference to
>  >>  > 'OGRFeature::GetFieldAsDouble(int)'
>  >>  > /usr/include/ogr_feature.h undefined reference to
>  >>  > 'OGRFeature::GetFieldAsInteger(int)'
>  >>  > /usr/include/ogr_feature.h undefined reference to
>  >>  > 'OGRFeatureDefn::GetFieldIndex(char const*)'
>  >>  >
>  >>  > I installed gdal and gdal-dev 1.4.4-1 from RPMs.
>  >>  > Am I missing something?
>  >>
>  >>
>  >> 1.4.4 is fairly old, see
>  >>  http://trac.osgeo.org/gdal/wiki#Releases
>  >>
>  >>  Maybe a newer version would help (you may try to take the
>  >>  SRPM, extract the SPEC file and apply it to 1.5.2).
>  >>
>  >>
>  >>  Markus
>  >>
>  >
>
>
>
>
> --
>  Open Source Geospatial Foundation
>  http://www.osgeo.org/
>  http://www.grassbook.org/
>


More information about the gdal-dev mailing list