eglChooseConfig call fails on a Linux, ubuntu

This topic contains 2 replies, has 2 voices, and was last updated by  uday 2 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #48535

    uday
    Member

    Hi,

    I am trying to run a sample code HelloApi from the PowerVR SDK, OGLES2, 64bit example on a ubuntu platform.
    During runtime eglChooseConfig function fails when linked with PowerVR OGL (OpenGL) shared libraries. However, if the executable is linked with Nvidia OGL Shared libraries, the application works fine.

    #48546

    chris
    Moderator

    Hi uday,

    When you say you are linking against OpenGL libraries do you mean GLES? Linking against OpenGL doesn’t make any sense for a GLES application.

    The libraries provided with the SDK are GLES emulation libraries which dynamically load OpenGL in order to emulate GLES on desktop. An error in eglChooseConfig might indicate that your OpenGL driver is incorrectly configured. Can you tell tell me what error code is being returned from eglChooseConfig?

    #48568

    uday
    Member

    Hi Chris,

    Sorry for delayed reply.

    It was a typo, i meant GLES libraries only. eglChooseConfig returns a false, and AFIK it does not have the support of eglgeterror() function. Let me know if there is a way of tapping it

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.