[gdal-dev] GDAL - header compile errors

Frank Warmerdam warmerdam at p...
Mon Oct 1 14:04:05 EDT 2001



Peter von Gaza wrote:

> Howdy,
> 
> I'm new to GDAL. I'm trying to dynamically link to the GDAL dll but
> my Borland C++ Builder compiler doesn't like cpl_vsi.h. For some
> reason the compiler doesn't recognize any declarations with "FILE".
> I've tried placing stdio.h right in that header but it doesn't make
> any difference. I tried compiling under Visual C++ and everything
> works fine. So there is some compiler specific stuff that i don't
> understand. Anybody got any ideas?


Peter,

Is it possible this is a C++ namespace issue? I don't use Borland C++,
so I know you will have lots of hassles building with it. However, it has
been done before so it is possible with enough fiddling.

Good luck,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at p...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list