Error Running with the "annotation.earth" test file

classic Classic list List threaded Threaded
9 messages Options
nebsar nebsar
Reply | Threaded
Open this post in threaded view
|

Error Running with the "annotation.earth" test file

Hello;
I am very new to osgEarth. I am trying to run osgEarth_viewer example with "annotation.earth" earth file in the tests folder. But I get the following error:

VERTEX glCompileShader "oe_PlaceNode_icon_VS" FAILED
VERTEX Shader "oe_PlaceNode_icon_VS" infolog:
0(5) : error C7616: global variable gl_MultiTexCoord0 is removed after version 1
40

glLinkProgram 000000000735AC00"" FAILED
Program "" infolog:
Vertex info
-----------
0(5) : error C7616: global variable gl_MultiTexCoord0 is removed after version 1
40
(0) : error C2003: incompatible options for link

Any help is appreciated. Thanks.
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

nebsar,
Which version of OSG and osgEarth are you using?
Please run "osgearth_version --caps" and post the output. Thanks.
Glenn Waldron / Pelican Mapping
nebsar nebsar
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

Glenn, you may see the version below:

[osgEarth]  [Capabilities] osgEarth Version: 2.10.0 DEVELOPMENT
[osgEarth]  [Capabilities] Detected hardware capabilities:
[osgEarth]  [Capabilities]   Vendor = NVIDIA Corporation
[osgEarth]  [Capabilities]   Renderer = GeForce GT 650M/PCIe/SSE2
[osgEarth]  [Capabilities]   Version = 4.6.0 NVIDIA 416.94
[osgEarth]  [Capabilities]   Core Profile = no
[osgEarth]  [Capabilities]   Max GPU texture units = 32
[osgEarth]  [Capabilities]   Max GPU texture coord indices = 8
[osgEarth]  [Capabilities]   Max GPU attributes = 16
[osgEarth]  [Capabilities]   Depth buffer bits = 24
[osgEarth]  [Capabilities]   Max texture size = 16384
[osgEarth]  [Capabilities]   Max lights = 8
[osgEarth]  [Capabilities]   GLSL = yes
[osgEarth]  [Capabilities]   GLSL Version = 460
[osgEarth]  [Capabilities]   Texture arrays = yes
[osgEarth]  [Capabilities]   3D textures = yes
[osgEarth]  [Capabilities]   Multitexturing = yes
[osgEarth]  [Capabilities]   draw instanced = yes
[osgEarth]  [Capabilities]   uniform buffer objects = yes
[osgEarth]  [Capabilities]   NPOT textures = yes
[osgEarth]  [Capabilities]   Texture buffers = yes
[osgEarth]  [Capabilities]   Texture buffer max size = 134217728
[osgEarth]  [Capabilities]   Transform feedback = yes
[osgEarth]  [Capabilities]   Compression = ARB S3 RG

Thanks.
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

You appear to be using some intermediate development version of osgEarth. Please grab either the 2.10 release or the master branch and try again.
Glenn Waldron / Pelican Mapping
nebsar nebsar
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

Glenn;
Actually, I used vcpkg to get the compiled libraries of osgEarth. I will try to compile them from the source. And let you know. Thanks.
plevy plevy
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

Nebsar,

Microsoft controls the vcpkg repo and I submitted a PR to point to the latest osgearth but it has not been updated yet.

To do it manually, in your vcpkg/ports/osgearth folder, edit portfile.cmake

change the vcpkg_from_github block to:

vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO gwaldron/osgearth
    REF osgearth-2.10
    SHA512 ba742f4fc8dbbdaee65e413d477b713cad8da313a1dc68327997359aca88dadc871b03ad4b09172e3e048164989c2797108db67f14edff8ee5a0c63a8fe1bb0c
    HEAD_REF master
    PATCHES ${VS2017PATCH}
)

That will grab the release version with the corresponding SHA checksum. I do not remember if it will automatically pick up the change or you need to remove and re-install osgearth.

Thank you





On Wed, Dec 12, 2018 at 4:12 PM nebsar [via osgEarth] <[hidden email]> wrote:
Glenn;
Actually, I used vcpkg to get the compiled libraries of osgEarth. I will try to compile them from the source. And let you know. Thanks.


If you reply to this email, your message will be added to the discussion below:
http://forum.osgearth.org/Error-Running-with-the-annotation-earth-test-file-tp7592250p7592256.html
To start a new topic under osgEarth, email [hidden email]
To unsubscribe from osgEarth, click here.
NAML
nebsar nebsar
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

Hello Plevy;

I will try to get osgEarth's last build via vcpkg with your input. Thanks.
nebsar nebsar
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

In reply to this post by plevy
Plevy and Glenn;

Thank you for your help. I can now manage to show everything without error using "annotation.earth" file.

May I ask another question? I tried to build osgEarth with QT5.6.0. I made the change on the CmakeList.txt file as instructed on osgEarth.org website and showed the path to "qmake.exe" file. But I could not manage to build with QT. Do you have osgEarthQT .lib and .dll files compiled already? Thanks.
plevy plevy
Reply | Threaded
Open this post in threaded view
|

Re: Error Running with the "annotation.earth" test file

We do not maintain prebuilt libraries.  There are other users who use QT with osgEarth and maybe they can offer pointers on where to start and which version of QT works with osgEarth.

Thank you

On Thu, Dec 13, 2018 at 1:35 AM nebsar [via osgEarth] <[hidden email]> wrote:
Plevy and Glenn;

Thank you for your help. I can now manage to show everything without error using "annotation.earth" file.

May I ask another question? I tried to build osgEarth with QT5.6.0. I made the change on the CmakeList.txt file as instructed on osgEarth.org website and showed the path to "qmake.exe" file. But I could not manage to build with QT. Do you have osgEarthQT .lib and .dll files compiled already? Thanks.


If you reply to this email, your message will be added to the discussion below:
http://forum.osgearth.org/Error-Running-with-the-annotation-earth-test-file-tp7592250p7592259.html
To start a new topic under osgEarth, email [hidden email]
To unsubscribe from osgEarth, click here.
NAML