<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body>
    Hi,<br>
    <br>
    a year ago I updated globe to be compatible with newer OSGEarth
    versions (up to 2.5 IIRC) but never got around to merge the code
    back.<br>
    In case somebody wants to finish this work, the code is here:<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://github.com/m-kuhn/QGIS/tree/globe-featurequery/">https://github.com/m-kuhn/QGIS/tree/globe-featurequery/</a><br>
    <br>
    Be prepared however that quite a bit of code was changed in QGIS
    core as well because some functionality to make globe more
    configurable (expose vector layers as such, extrude features, height
    exaggeration of the DEM and at some point some python scripting
    possibilities...) was added what required to add the possibility to
    add additional tabs to the vector layer properties dialog from
    plugins.<br>
    You have been warned that it's not just a simple patch.<br>
    <br>
    Best,<br>
    Matthias<br>
    <br>
    <div class="moz-cite-prefix">On 04/08/2015 06:04 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:samuelmesa@gmail.com">samuelmesa@gmail.com</a> wrote:<br>
    </div>
    <blockquote
cite="mid:CAN5q7SWdt8_W+Azc+Lun0ss0ZL-X_GvWFFbzbbFGS6itSj45yQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div id="gt-src-c" class="">
          <div id="gt-src-p"> </div>
        </div>
        <div id="gt-res-content" class="">
          <div dir="ltr" style="zoom:1"><span id="result_box" class=""
              lang="en"><span class="">I have achieved</span> <span
                class="">to install</span><span class=""></span> <span
                class="">QGIS</span> with <span class="">Globe</span></span><span
              id="result_box" class="" lang="en"><span class=""><span
                  id="result_box" class="" lang="en"><span class="">
                    plugin</span></span></span> <span class="">with an
                older</span> <span class="">version of</span> <span
                class="">osgEarth</span><span> [1],</span> <span
                class="">specifically</span> <span class="">version
                2.1.1</span> <span class="">(2011</span><span>)</span><span>.</span>
              <span class="">This version contains</span> <span
                class="">all headers</span><span class=""></span> <span
                class="">required to compile</span> <span class="">QGIS</span>
              <span class="">globe plugin</span><span>.</span> <span
                class=""></span></span><span id="result_box" class=""
              lang="en"><span class=""><span id="result_box" class=""
                  lang="en"><span class="">However</span><span class="">,
                    an error</span> <span class="">occurs when</span> <span
                    class="">starting</span> <span class="">QGIS</span>
                  <span class="">and closes with</span> <span class="">the
                    following message:</span></span></span><br>
              <br>
              ----------------------------------<br>
              $ qgis<br>
              <br>
              Warning: QGraphicsScene::addItem: item has already been
              added to this scene<br>
              Violación de segmento (`core' generado)<br>
              <br>
              -----------------------------------<br>
              <span class=""></span></span>
            <div style="display:inline-block" id="gt-input-tool">
              <div id="itamenu"><span class=""></span></div>
            </div>
            <div id="gt-src-c" class="">
              <div id="gt-src-p"> </div>
            </div>
            <div id="gt-res-content" class="">
              <div dir="ltr" style="zoom:1"><span id="result_box"
                  class="" lang="en"><span class="">To correct the error</span>
                  <span class="">I</span> <span class="">remove the</span>
                  <span class="">Globe plugin</span> <span class="">of
                  </span><span class="">/usr/lib/qgis/plugins/libglobeplugin.so</span></span>.
                <span id="result_box" class="" lang="en"><span class="">H</span></span><span
                  id="result_box" class="" lang="en"><span class="">owever,</span>
                  <span class="">I can</span> <span class="">not
                    accomplish</span> <span class="">install the</span>
                  Globe <span class="">plugin</span> <span class="">in</span>
                  <span class="">QGIS.</span></span><br>
                <br>
              </div>
            </div>
            <span id="result_box" class="" lang="en"><span class=""><br>
              </span></span><span id="result_box" class="" lang="en"><span>[1]
              </span></span><a moz-do-not-send="true"
              href="https://gist.github.com/samtux/5efb2512d18ec682c64c">https://gist.github.com/samtux/5efb2512d18ec682c64c</a><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-04-08 7:58 GMT-05:00 <a
            moz-do-not-send="true" href="mailto:samuelmesa@gmail.com">samuelmesa@gmail.com</a>
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:samuelmesa@gmail.com" target="_blank">samuelmesa@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div><span lang="en"><span>Hello list.</span> <span>I
                    support</span> <span>in generating</span> <span>GIS
                    AUR</span> <span>packages</span> <span>in</span> <span>Arch</span>
                  <span>Linux</span> <span>repositories</span><span>,
                    including</span> <span>osgEarth</span> <span>package</span><span>
                    [1].</span> <span>However</span> <span>in the
                    latest version</span> <span>of</span> <span>QGIS</span>
                  <span>v2.8.1</span><span>,</span> <span>I was unable</span>
                  <span>successfully compile</span> <span>osgEarth</span>
                  <span>to</span> <span>support</span> <span>the</span>
                  <span>Globe</span> <span>plugin,</span> <span>because
                    it requires</span> <span>some</span> <span>headers
                    that</span> <span>do not exist.</span><br>
                  <br>
                  <span>QGIS with </span><span>osgEarth</span> <span>version</span>
                  <span>2.5 not find </span></span><span lang="en"><span>osgEarth/FindNode:</span><br>
-------------------------------------------------------------------<br>
                </span>/home/samtux/Manjaro/aur/qgis/src/qgis/src/plugins/globe/osgEarthUtil/Controls.cpp:21:29:
                error fatal: osgEarth/FindNode: No existe el fichero o
                el directorio<br>
                 #include <osgEarth/FindNode><br>
                                             ^<br>
                compilación terminada.<br>
                src/plugins/globe/CMakeFiles/globeplugin.dir/build.make:170:
                fallo en las instrucciones para el objetivo
'src/plugins/globe/CMakeFiles/globeplugin.dir/osgEarthUtil/Controls.cpp.o'<br>
                make[2]: ***
                [src/plugins/globe/CMakeFiles/globeplugin.dir/osgEarthUtil/Controls.cpp.o]
                Error 1<br>
                CMakeFiles/Makefile2:2570: fallo en las instrucciones
                para el objetivo
                'src/plugins/globe/CMakeFiles/globeplugin.dir/all'<br>
                make[1]: ***
                [src/plugins/globe/CMakeFiles/globeplugin.dir/all] Error
                2<br>
                make[1]: *** Se espera a que terminen otras tareas....<br>
                <span lang="en"><span lang="en">-------------------------------------------------------------------</span><br>
                  <br>
                  QGIS with o<span>sgEarth</span> </span><span
                  lang="en"><span>version</span> <span>2.6</span> not
                  find </span><span lang="en"><span><span lang="en">osgEarthUtil/SkyNode</span>:</span></span><br>
                <span lang="en"><span lang="en">-------------------------------------------------------------------<br>
                  </span>/home/samtux/Manjaro/aur/qgis/src/qgis/src/plugins/globe/globe_plugin.cpp:60:32:
                  error fatal: osgEarthUtil/SkyNode: No existe el
                  fichero o el directorio<br>
                   #include <osgEarthUtil/SkyNode><br>
                                                  ^<br>
                  compilación terminada.<br>
                  src/plugins/globe/CMakeFiles/globeplugin.dir/build.make:78:
                  fallo en las instrucciones para el objetivo
                  'src/plugins/globe/CMakeFiles/globeplugin.dir/globe_plugin.cpp.o'<br>
                  make[2]: ***
                  [src/plugins/globe/CMakeFiles/globeplugin.dir/globe_plugin.cpp.o]
                  Error 1<br>
                  CMakeFiles/Makefile2:2570: fallo en las instrucciones
                  para el objetivo
                  'src/plugins/globe/CMakeFiles/globeplugin.dir/all'<br>
                  make[1]: ***
                  [src/plugins/globe/CMakeFiles/globeplugin.dir/all]
                  Error 2<br>
                  make[1]: *** Se espera a que terminen otras tareas....<br>
                  <span lang="en"><span lang="en">-------------------------------------------------------------------</span><br>
                  </span><br>
                  <span>How could</span> <span>correct this error</span><span>?,</span>
                  <span>someone has</span> <span>the same problems with</span>
                  <span>osgEarth</span> <span>in</span> <span>other
                    Linux distributions</span><span>?</span><br>
                  <br>
                  <span>regards,<br>
                    <br>
                  </span></span></div>
              <span lang="en"><span>Samuel Mesa. <br>
                  <br>
                </span></span>
              <div><span lang="en"><span>[1]</span></span> <a
                  moz-do-not-send="true"
                  href="https://aur.archlinux.org/packages/osgearth"
                  target="_blank">https://aur.archlinux.org/packages/osgearth</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <br>
        -- <br>
        <div class="gmail_signature">---
          <div>    .~.
            <div>   / v \</div>
            <div>  //    \\</div>
            <div> /(      )\</div>
            <div>   ^`~'^</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>