<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 10:56, taibc пишет:<br>
    </div>
    <blockquote
      cite="mid:1342162579.22260.YahooMailNeo@web190005.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">
        <div><span>Thanks Dmitry,</span></div>
        <div><br>
          <span></span></div>
        <div><span>I linked the file gdal_i.lib to the project (by
            editing 'Additional Dependencies' in the area:
            Linker/Input). And still got similar errors (but the number
            of errors were reduced) ?</span></div>
        <div><br>
          <span></span></div>
        <div><span>Kind regards,</span></div>
        <div><span>Tai<br>
          </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
                  moz-do-not-send="true"
                  href="/user/SendEmail.jtp?type=node&node=4988131&i=0"
                  target="_top" rel="nofollow" link="external">[hidden
                  email]</a>><br>
                <b><span style="font-weight: bold;">To:</span></b> taibc
                <<a moz-do-not-send="true"
                  href="/user/SendEmail.jtp?type=node&node=4988131&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 1:17 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="yiv1975458157"> 13.07.2012 7:56, taibc пишет:
              <div class="yiv1975458157shrinkable-quote">
                <div class="shrinkable-quote"><br>
                  > Hi everyone,
                  <br>
                  >
                  <br>
                  > I am trying to use Ogr C++ class on Visual Studio
                  2010. I created an new
                  <br>
                  > empty Visual C++ project (Win 32 Console
                  Application). Then added Ogr files
                  <br>
                  > into project, then buid it.
                  <br>
                  >
                  <br>
                  > I got the errors similar as below:
                  <br>
                  >
                  <br>
                  > /Error 147 error LNK2001: unresolved external
                  symbol "private: virtual int
                  <br>
                  > __thiscall OGRLinearRing::_exportToWkb(enum
                  OGRwkbByteOrder,int,unsigned
                  <br>
                  > char *)const "
                  (?_exportToWkb@OGRLinearRing@@EBEHW4OGRwkbByteOrder@@HPAE@Z)
                  <br>
                  > c:\Users\administrator\documents\visual studio
                  <br>
                  > 2010\Projects\CLCConverter\CLCConverter\main.obj
                  CLCConverter/
                  <br>
                  >
                  <br>
                  > Do you know how to fix it ?
                  <br>
                  >
                  <br>
                  > Thanks and regards,
                  <br>
                  >
                  <br>
                  > Tai
                  <br>
                  >
                  <br>
                  > --
                  <br>
                  > View this message in context:
<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-tp4988103.html">http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103.html</a><br>
                  > Sent from the GDAL - Dev mailing list archive at
                  <a moz-do-not-send="true" target="_blank"
                    href="http://nabble.com/" rel="nofollow"
                    link="external">Nabble.com</a>.
                  <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 class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
                  >
                  <br>
                  >
                </div>
                Hi,
              </div>
              <br>
              You have to link gdal1x.lib to your project
              <br>
              <br>
              Best regards,
              <br>
              Dmitry
              <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-tp4988103p4988120.html">http://osgeo-org.1560.n6.nabble.com/Error-LNK1120-314-unresolved-externals-When-using-Ogr-C-class-on-Visual-Studio-2010-tp4988103p4988120.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-tp4988103p4988131.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>
    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>
  </body>
</html>