<div>hi.</div><div><br></div>which version of vc++ are you using..<div><br></div><div>coz if u are using vc++ 6.0 you need to make some changes in some codes.</div><div><br></div><div>also do study the nmake.opt file & check i all the paths are set properly.</div>
<div><br></div><div>hope this helps..</div><div><br></div><div>bhasker<br><br><div class="gmail_quote">On Thu, Oct 1, 2009 at 10:24 PM, Yilmaz Arslanoglu <span dir="ltr"><<a href="mailto:yilmaz.arslanoglu@gmail.com">yilmaz.arslanoglu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi;<br>
<br>
I am trying to build and install the GDAL library on Windows XP<br>
using the following commands:<br>
<br>
nmake /f <a href="http://makefile.vc" target="_blank">makefile.vc</a><br>
nmake /f <a href="http://makefile.vc" target="_blank">makefile.vc</a> install<br>
nmake /f <a href="http://makefile.vc" target="_blank">makefile.vc</a> devinstall<br>
<br>
In order to build with GEOS support, I uncommented the lines<br>
in the "nmake.opt" as follows:<br>
<br>
GEOS_DIR=C:\geos-3.1.1<br>
GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/source/headers -DHAVE_GEOS<br>
GEOS_LIB = $(GEOS_DIR)/source/geos_c_i.lib<br>
<br>
However, I still get the same .dll and .lib files as if no GEOS<br>
support was turned on<br>
(the sizes are exactly the same). When I try to call<br>
"OGRGeometry::Contains()" method,<br>
I also get the error:<br>
<br>
"ERROR 6: GEOS support not enabled."<br>
<br>
What could be wrong?<br>
<br>
2) I was also wondering whether OGR library provides a kind of nearest<br>
neighbour finding facilities?<br>
If not, does anybody know any library that could be integrated with<br>
OGR for this purpose?<br>
I plan to use it to find the n nearest sounding points (SOUNDG)<br>
given a point, to make a prediction<br>
about its depth.<br>
<br>
3) Finally, is there any facility in OGR for querying a layer such that<br>
it will only return the features on it, which contain a given<br>
point as parameter?<br>
Because I could not come up with an SQL statement to perform this task.<br>
Actually I was planning to use this on the DEPARE (depth area) layer on<br>
an S-57 file to find the depth area polygon that covers the given point.<br>
<br>
Any idea or references about these issues would greatly be appreciated.<br>
<br>
Best regards,<br>
Yilmaz<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br></div>