<div dir="ltr"><div id="gt-res-content" class=""><div dir="ltr" style="zoom:1"><span id="result_box" class="" lang="en"><span class="">Matthias</span> <span class="">thanks for your answer</span><span>.</span> <span class="">The truth</span> <span class="">I'm not very</span> <span class="">expert</span> <span class="">programming</span><span>, but</span> <span class="">try to</span> <span class="">compile the code</span> <span class="">Globe</span> <span class="">plugin</span> <span class="">that</span> <span class="">you provide</span><span>.</span> <span class="">The Globe</span> <span class="">plugin</span> <span class="">is very interesting and</span> <span class="">useful, however</span> <span class="">wait until</span> <span class="">QGIS</span> <span class="">updates</span> <span class="">that supports</span> <span class="">the latest version of</span> <span class="">osgEarth</span><span>.<br><br></span></span></div><div style><span id="result_box" class="" lang="en"><span>regards<br><br></span></span></div><div style><span id="result_box" class="" lang="en"><span>Samuel Mesa.<br></span></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-08 16:06 GMT-05:00 Matthias Kuhn <span dir="ltr"><<a href="mailto:matthias@opengis.ch" target="_blank">matthias@opengis.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
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 href="https://github.com/m-kuhn/QGIS/tree/globe-featurequery/" target="_blank">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<div><div class="h5"><br>
<br>
<div>On 04/08/2015 06:04 PM,
<a href="mailto:samuelmesa@gmail.com" target="_blank">samuelmesa@gmail.com</a> wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div>
<div> </div>
</div>
<div>
<div dir="ltr" style="zoom:1"><span lang="en"><span>I have achieved</span> <span>to install</span><span></span> <span>QGIS</span> with <span>Globe</span></span><span lang="en"><span><span lang="en"><span>
plugin</span></span></span> <span>with an
older</span> <span>version of</span> <span>osgEarth</span><span> [1],</span> <span>specifically</span> <span>version
2.1.1</span> <span>(2011</span><span>)</span><span>.</span>
<span>This version contains</span> <span>all headers</span><span></span> <span>required to compile</span> <span>QGIS</span>
<span>globe plugin</span><span>.</span> <span></span></span><span lang="en"><span><span lang="en"><span>However</span><span>,
an error</span> <span>occurs when</span> <span>starting</span> <span>QGIS</span>
<span>and closes with</span> <span>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></span></span>
<div style="display:inline-block">
<div><span></span></div>
</div>
<div>
<div> </div>
</div>
<div>
<div dir="ltr" style="zoom:1"><span lang="en"><span>To correct the error</span>
<span>I</span> <span>remove the</span>
<span>Globe plugin</span> <span>of
</span><span>/usr/lib/qgis/plugins/libglobeplugin.so</span></span>.
<span lang="en"><span>H</span></span><span lang="en"><span>owever,</span>
<span>I can</span> <span>not
accomplish</span> <span>install the</span>
Globe <span>plugin</span> <span>in</span>
<span>QGIS.</span></span><br>
<br>
</div>
</div>
<span lang="en"><span><br>
</span></span><span lang="en"><span>[1]
</span></span><a href="https://gist.github.com/samtux/5efb2512d18ec682c64c" target="_blank">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 href="mailto:samuelmesa@gmail.com" target="_blank">samuelmesa@gmail.com</a>
<span dir="ltr"><<a 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 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>---
<div> .~.
<div> / v \</div>
<div> // \\</div>
<div> /( )\</div>
<div> ^`~'^</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Qgis-developer mailing list
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</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>