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