<div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi, <br><br>Although, I added 'gdal_i.lib' in Properties (Linker ->Input->Additional Dependencies) and this file in Debug folder, but I got an other errror:<br><br><span style="font-style: italic;">error LNK1104: cannot open file 'gdal_i.lib'   </span><br><br>Do you know how to fix it ?<br><br>Thanks and regards,<br><br>Tai<br> <br>
      <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 id="yiv1764676979"><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em;" type="cite"><pre>_______________________________________________
gdal-dev mailing list
<a href="" rel="nofollow" target="_top" link="external">[hidden email]</a>
<a rel="nofollow" class="yiv1764676979moz-txt-link-freetext" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" link="external">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
    </blockquote>
    Hi,<br>
     <br>
    You mast remove any cpl_*.cpp and any gdal headers from your
    solution. In project properties you have to put path to gdal headers
    (gdal_root/port, gdal_root/gcore, gdal_root/ogr)<br>
    E.g. for GDALVersionInfo function you have to include only in your
    code #include "gdal.h"<br>
    <br>
    Best regards,<br>
        Dmitry<br>
    <br>
  

<br>_______________________________________________
<br>gdal-dev mailing list
<br><a href="" rel="nofollow" target="_top" link="external">[hidden email]</a>
<br><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" link="external">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
        
        <br>
        <br>
        <hr color="#cccccc" noshade="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>
                http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988142.html
        </div>
        <div style="color:#666;font:11px tahoma, geneva, helvetica, arial, sans-serif;margin-top:.4em;line-height:1.5em;">
                
                To unsubscribe from Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010, <a rel="nofollow" target="_blank" href="" link="external">click here</a>.<br>
                <a rel="nofollow" target="_blank" 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">NAML</a>
        </div></div><br><br> </div> </div>  </div>
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988177.html">Re: Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio 2010</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/>