It turned out that the magic words were:
LDFLAGS = -framework GDAL -framework GEOS
in my Makefile. Thanks to William Kyngesburye for the solution.
Cheers,
Greg
Christopher Schmidt wrote:
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
| [email protected]
| 360.774.6848
|
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| [email protected]
| 360.774.6848
|
|
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev