<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">13.07.2012 13:55, taibc пишет:<br>
</div>
<blockquote
cite="mid:1342173288.70717.YahooMailNeo@web190004.mail.sg3.yahoo.com"
type="cite">
<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" type="cite">
<pre>_______________________________________________
gdal-dev mailing list
<a moz-do-not-send="true" href="" rel="nofollow" target="_top" link="external">[hidden email]</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="" rel="nofollow"
target="_top" link="external">[hidden email]</a>
<br>
<a moz-do-not-send="true" 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>
<a class="moz-txt-link-freetext" href="http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988142.html">http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988142.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 Error LNK1120: 314 unresolved externals
- When using Ogr C++ class on Visual Studio 2010, <a
moz-do-not-send="true" rel="nofollow" target="_blank"
href="" link="external">click here</a>.<br>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html">GDAL
- Dev mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
Put there (Linker ->Input->Additional Dependencies) the full
path to gdal_i.lib or add the path to gdal_i.lib in Linker
->General->AdditionalLibraryDirectories<br>
<br>
Best regards,<br>
Dmitry<br>
<br>
</body>
</html>