[Gdal-dev] Static gdal

Jay Baird jbaird at ku.edu
Tue Apr 29 21:34:27 EDT 2003


when including gdal as a static lib, what all needs to be included in the
compilation? 

I have libgdal.a, libogr.a, cpl.a, and libproj.a, and the headers:
gdal.h 
gdal_priv.h 
gdal_frmts.h 

an when compiling I get the following:
ld: Undefined symbols:
_GDALAllRegister 
_GDALClose 
_GDALOpen 
GDALDataset::GetRasterCount()
GDALDataset::GetRasterXSize()
GDALDataset::GetRasterYSize()

so is there anything specific i'm missing in my includes and libraries?

Thanks in advance, 

Jay




More information about the Gdal-dev mailing list