<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It turned out that the magic words were:<br>
<br>
&nbsp; LDFLAGS = -framework GDAL -framework GEOS<br>
<br>
in my Makefile.&nbsp; Thanks to William Kyngesburye for the solution.<br>
<br>
Cheers,<br>
<br>
Greg<br>
<br>
Christopher Schmidt wrote:
<blockquote cite="mid:20081218004800.GS32207@metacarta.com" type="cite">
  <pre wrap="">On Wed, Dec 17, 2008 at 04:12:26PM -0800, Greg Ederer wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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&amp;)       in 
starspan_rasterize.o

...
(many more lines)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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

  </pre>
  <blockquote type="cite">
    <pre wrap="">Any suggestions?

Thanks!

Greg

-- 
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a class="moz-txt-link-abbreviated" href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|

_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
| E R G O N O S I S
| Greg Ederer
| Lead Developer
| <a class="moz-txt-link-abbreviated" href="mailto:greg@ergonosis.com">greg@ergonosis.com</a>
| 360.774.6848
|</pre>
</body>
</html>