<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 11:18, taibc пишет:<br>
</div>
<blockquote
cite="mid:1342163913.35311.YahooMailNeo@web190002.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>
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="yiv890386707">
<blockquote style="border-left:2px solid #CCCCCC;padding:0
1em" type="cite">View this message in context: <a
moz-do-not-send="true" 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 moz-do-not-send="true" 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="yiv890386707mimeAttachmentHeader"></fieldset>
<br>
<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="yiv890386707moz-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>
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 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-tp4988103p4988133.html">http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988133.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>
<div class="small"><br>
<img moz-do-not-send="true" src="/images/icon_attachment.gif"> <strong>Error.jpg</strong>
(343K) <a moz-do-not-send="true"
href="http://osgeo-org.1560.n6.nabble.com/attachment/4988136/0/Error.jpg"
target="_top" rel="nofollow" link="external">Download
Attachment</a></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-tp4988103p4988136.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>
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>
</body>
</html>