Would you mind reading the "OGR C++ API Read/Write Tutorial" available on
http://gdal.org/ogr/ogr_apitut.html ? The answer is in the first code
snippet ;-)
Le Wednesday 03 March 2010 21:43:49 deadpickle, vous avez écrit :
> I have finally compiled my C program and tried running it for the
> firs
deadpickle wrote:
I have finally compiled my C program and tried running it for the
first time. When I ran the file I got the error:
[t...@updraft ~/Programs]$ ./gdal_test_convert
ERROR 10: Pointer 'hDriver' is NULL in 'OGR_Dr_CreateDataSource'.
I'm trying to load the ESRI Shapefile driver. When
I have finally compiled my C program and tried running it for the
first time. When I ran the file I got the error:
[t...@updraft ~/Programs]$ ./gdal_test_convert
ERROR 10: Pointer 'hDriver' is NULL in 'OGR_Dr_CreateDataSource'.
I'm trying to load the ESRI Shapefile driver. When I compiled it I
link