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 class="gmail_quote">On Tue, Jul 24, 2012 at 9:50 AM, taibc <span dir="ltr"><<a href="mailto:taibc_coltech@yahoo.com" target="_blank">taibc_coltech@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Thanks Chaitanya,</span></div><div>
<br><span></span></div><div><span>I haven't set </span>LD_LIBRARY_PATH and GDAL_DATA yet.</div><div><br></div><div>Do you know how to set them on Visual C++ 2010 ?</div><div><br></div><div>Kind regards,</div><div>Tai<br>
</div><div><br></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"> <hr size="1">
  <b><span style="font-weight:bold">From:</span></b> chaitanya_ch [via OSGeo.org] <<a href="http://user/SendEmail.jtp?type=node&node=4990251&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>><br>
 <b><span style="font-weight:bold">To:</span></b> taibc <<a href="http://user/SendEmail.jtp?type=node&node=4990251&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Tuesday, July 24, 2012 10:38 AM<div class="im">
<br> <b><span style="font-weight:bold">Subject:</span></b> Re: How to identify a point is belong to a polygon ?<br> </div></font> </div> <br>
<div><div class="im">

        Tai,<br><br>If your rebuild was successful with geos, the only reason for you to get the error is that the application is accessing the wrong libraries somewhere in your system. Do a clean rebuild and make sure the LD_LIBRARY_PATH and GDAL_DATA are set correctly.<br>

<br></div><div><div><div class="h5">On Tue, Jul 24, 2012 at 7:37 AM, taibc <span dir="ltr"><<a rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br></div></div><blockquote style="border-left:2px solid #cccccc;padding:0 1em">
<div><div class="h5">
<div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span>Thanks Mateusz,</span></div><div><br><span></span></div><div><span>I edited the nmake.opt by adding below lines:</span></div><div><br>

<span></span></div><div><span>GEOS_DIR = C:/geos-3.3.5<br>GEOS_LIB = $(GEOS_DIR)/src/geos_c_i.lib<br>GEOS_CFLAGS = -I$(GEOS_DIR)/capi -I$(GEOS_DIR)/include/geos -DHAVE_GEOS<br></span></div><div><br><span></span></div><div>

<span>Then, I rebuilt GDAL, but still got the error: "GEOS support not enable".</span></div><div><br><span></span></div><div><span>Kind regards,</span></div><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"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Mateusz Loskot [via <a href="http://osgeo.org/" rel="nofollow" link="external" target="_blank">OSGeo.org</a>] <<a rel="nofollow" href="http://user/SendEmail.jtp?type=node&node=4990235&i=0" link="external" target="_blank">[hidden email]</a>><br>

 <b><span style="font-weight:bold">To:</span></b> taibc <<a rel="nofollow" href="http://user/SendEmail.jtp?type=node&node=4990235&i=1" link="external" target="_blank">[hidden email]</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Monday, July 23, 2012 5:56 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><div>

        On 23 July 2012 11:52, taibc <<a rel="nofollow" link="external">[hidden email]</a>> wrote:
<br>> I installed GEOS succesfful, and copy file geos.dll into my project. But I
<br>> still got the error: "GEOS support not enable" when using the method
<br>> "Within"
<br>>
<br>> Are there something wrongs ?
<br><br>You need to edit nmake.opt and rebuild GDAL.
<br>Check this thread:
<br><a href="http://lists.osgeo.org/pipermail/gdal-dev/2010-March/023829.html" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/2010-March/023829.html</a><br><br>Best regards,
<br>-- 
<br>Mateusz Loskot, <a href="http://mateusz.loskot.net" target="_blank">http://mateusz.loskot.net</a><br>_______________________________________________
<br>gdal-dev mailing list
<br></div><a rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990029.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990029.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from How to identify a point is belong to a polygon ?, <a rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div><br><br> </div> </div>  </div>

        
        
        
<br><hr align="left" width="300">
View this message in context: <a rel="nofollow" href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990235.html" link="external" target="_blank">Re: How to identify a point is belong to a polygon ?</a><div>

<div><br>
Sent from the <a rel="nofollow" href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html" link="external" target="_blank">GDAL - Dev mailing list archive</a> at <a href="http://nabble.com/" rel="nofollow" link="external" target="_blank">Nabble.com</a>.<br>
</div></div><br>_______________________________________________<br>

gdal-dev mailing list<br>
</div></div><a rel="nofollow" link="external">[hidden email]</a><br>
<a rel="nofollow" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><div class="im"><br><br clear="all"><br>
-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br><a href="tel:%2B91-9494447584" value="+919494447584" target="_blank">+91-9494447584</a><br>17.2416N 80.1426E<br>
<br></div><div class="im">_______________________________________________
<br>gdal-dev mailing list
<br><a rel="nofollow" link="external">[hidden email]</a>
<br><a rel="nofollow" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a>

        
        
        
        <br>
        <br>
        <hr color="#cccccc" noshade size="1">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990248.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-identify-a-point-is-belong-to-a-polygon-tp4989501p4990248.html</a>
        </div><div class="im">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from How to identify a point is belong to a polygon ?, <a rel="nofollow" link="external">click here</a>.<br>
                <a rel="nofollow" href="http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div><br><br> </div> </div>  </div><div class="HOEnZb"><div class="h5">

        
        
        
<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-tp4989501p4990251.html" target="_blank">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" target="_blank">GDAL - Dev mailing list archive</a> at Nabble.com.<br></div></div><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><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>