[Gdal-dev] Re: Using GDAL in Linux ANSI C
Frank Warmerdam
warmerdam at pobox.com
Mon Sep 25 14:28:21 EDT 2006
Brian S. Dixon wrote:
> Hi Frank,
>
> Our s/w is ANSI C, compiled with gcc ...Like I mentioned before, GDAL is
> all new to me so I have some basic questions. It looks like GDAL is written
> in C++ ...I've never tried to utilize C++ libraries from a C program before
> (usually the other way around). Is this possible? Porting our code to C++
> is a much larger project...
Brian,
Conveniently GDAL has C cover functions already!
If you look in gdal.h you will see the C API. Most of the C++ method
documentation refers to the related C entry point, though there is no
documentation for the C entry points so you need to work it out by
examining the prototypes.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org
More information about the Gdal-dev
mailing list