[gdal-dev] GDAL/StarSpan Mac OS X

Christopher Schmidt crschmidt at metacarta.com
Wed Dec 17 19:48:00 EST 2008


On Wed, Dec 17, 2008 at 04:12:26PM -0800, Greg Ederer wrote:
> Hi,
> 
> I've been trying to compile StarSpan under Mac OS X 10.5.6.  There 
> doesn't seem to be a StarSpan community/forum/list.  Unfortunately, 
> StarSpan does not know where to find GDAL.  I tried adding:
> 
> -I/Library/Frameworks/GDAL.framework/Versions/1.6/Headers
> 
> to Makefile.in and now make can find gdal.h.  But, now it dies with:
> 
> Undefined symbols:
> "GDALDataset::RasterIO(GDALRWFlag, int, int, int, int, void*, int, int, 
> GDALDataType, int, int*, int, int, int)", referenced from:
>    RasterizeObserver::addPixel(TraversalEvent&)       in 
> starspan_rasterize.o
> 
> ...
> (many more lines)

Sounds like you need to add:

-L/Library/Frameworks/GDAL.framework/Versions/1.5/unix/lib -lgdal

to your linker line, perhaps? (That string comes from gdal-config
--libs).

-- Chris

> Any suggestions?
> 
> Thanks!
> 
> Greg
> 
> -- 
> | E R G O N O S I S
> | Greg Ederer
> | Lead Developer
> | greg at ergonosis.com
> | 360.774.6848
> |
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Christopher Schmidt
MetaCarta


More information about the gdal-dev mailing list