<div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Ok, thank you !<br></span></div><div><br></div><div>Kind regards,</div><div><br></div><div>Tai<br><span></span></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" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Dmitry Baryshnikov [via OSGeo.org] <<a href="/user/SendEmail.jtp?type=node&node=4988144&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=4988144&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, July 13, 2012 2:44 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Error LNK1120: 314 unresolved externals - When using Ogr C++ class on Visual Studio
2010<br> </font> </div> <br>
<div id="yiv1764676979">
<div class="yiv1764676979moz-cite-prefix">13.07.2012 11:18, taibc пишет:<br>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em;" type="cite">
<div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;">Hi,<br>
<br>
What are exported classes/methods ?<br>
I only created a file: main.cpp to show the word "Hello", and
added Ogr files into my project, then built it.<br>
<br>
Please see the attached file.<br>
<br>
My idea is: I will create functions in the main.cpp file that
use methods of Ogr class to allow convert .dgn files to shape
files.<br>
<br>
Thanks and regards,<br>
<br>
Tai<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">View this message in context: <a rel="nofollow" target="_blank" href="http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988131.html" link="external">Re: Error LNK1120: 314 unresolved
externals - When using Ogr C++ class on Visual Studio
2010</a><br>
Sent from the <a rel="nofollow" target="_blank" href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html" link="external">GDAL - Dev mailing list archive</a> at
<a target="_blank" href="http://nabble.com/" rel="nofollow" link="external">Nabble.com</a>.<br>
<br>
<fieldset class="yiv1764676979mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
gdal-dev mailing list
<a href="" rel="nofollow" target="_top" link="external">[hidden email]</a>
http://lists.osgeo.org/mailman/listinfo/gdal-dev</pre>
</blockquote>
Hi,<br>
<br>
After linking, you can use only exported classes and
methods. It seems to me you try to use not exported
method. Maybe some your code can help.<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-tp4988103p4988133.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 href="" rel="nofollow" target="_top" 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>
<div class="yiv1764676979small"><br>
<img> <b>Error.jpg</b>
(343K) <a rel="nofollow" target="_blank" href="http://osgeo-org.1560.n6.nabble.com/attachment/4988136/0/Error.jpg" link="external">Download
Attachment</a></div>
<br>
<hr align="left" width="300">
View this message in context: <a rel="nofollow" target="_blank" href="http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988136.html" link="external">Re:
Error LNK1120: 314 unresolved externals - When using Ogr C++
class on Visual Studio 2010</a><br>
Sent from the <a rel="nofollow" target="_blank" href="http://osgeo-org.1560.n6.nabble.com/GDAL-Dev-f3742093.html" link="external">GDAL
- Dev mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="yiv1764676979mimeAttachmentHeader"></fieldset>
<br>
<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-tp4988103p4988144.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/>