<div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Thanks Chaitanya,</span></div><div><br><span></span></div><div><span>I modified as your suggestion. But, still got the error (</span><span>GEOS support not enable) </span><span>when executing the program.</span></div><div><span>About building GEOS, if I only add two first lines, the process will be sucessful:</span></div><div><br><span></span><span>1. GEOS_DIR = C:/geos-3.3.5<br>2. GEOS_LIB = $(GEOS_DIR)/src/geos_c_i.lib</span></div><div><span><span style="font-weight: bold;"><br></span></span></div><div><span><span style="font-weight: bold;">if I add third line, the building process will get errors<br></span></span></div><div><span>3. </span><span>GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/include/geos -DHAVE_GEOS <br></span></div><div><br><span></span></div><div><span><span style="font-weight:
bold;">Errors</span>:<br></span></div><div><span>LINK : fatal error LNK1181: cannot open input file 'ogr\ogrsf_frmts\ogrsf_frmts.<br>lib'<br>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI<br>N\lib.EXE"' : return code '0x49d'<br>Stop.<br></span></div><div><br><span></span></div><span>Thanks and regards,</span><div><br><span></span></div><div><span>Tai</span></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> chaitanya_ch [via OSGeo.org] <<a href="/user/SendEmail.jtp?type=node&node=4990291&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>><br> <b><span style="font-weight: bold;">To:</span></b> taibc <<a href="/user/SendEmail.jtp?type=node&node=4990291&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, July 24, 2012 12:48 PM<br> <b><span
style="font-weight: bold;">Subject:</span></b> Re: How to identify a point is belong to a polygon ?<br> </font> </div> <br>
<div id="yiv546320476">
Tai,<br><br>The environment variables can be set at the command prompt temporarily using <br><pre>SET LD_LIBRARY_PATH=C:\path\to\gdal\libraries<br>SET GDAL_DATA=C:\path\to\gdal\libraries\data
</pre>You can set them in the project settings in VC++. I don't know how.<br>You can also set them system wide at MyComputer->Settings.<br><br> </div><br></div> </div> </div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990291.html">Re: How to identify a point is belong to a polygon ?</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html">GDAL - Dev mailing list archive</a> at Nabble.com.<br/>