[osg-users] How to properly compile osg with EGL support?

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Mon Apr 29 23:14:33 PDT 2019


me again :)

I had to re-read what Omar wrote in this thread. To make it work you really
need to link explicitly to EGL, GLdispatch and OpenGL. All works now

Thanks Omar and Chris!

On Tue, Apr 30, 2019 at 7:38 AM Trajce Nikolov NICK <
trajce.nikolov.nick at gmail.com> wrote:

> Hi Community,
>
> we are back on this issue now days. I have tried the osgEGL project from
> guthub and I am having the same problem I had before. Crash .. Here is the
> stack trace. Any clue?
>
> 0    glGetString            0x7ffff62ccae9
> 1    osg::State::initializeExtensionProcs()            0x7ffff6d1e3ed
> 2    osg::GraphicsContext::makeCurrent()            0x7ffff6c2a4f2
> 3    osg::GraphicsThread::run()            0x7ffff6c30117
> 4    OpenThreads::ThreadPrivateActions::StartThread(void *)
> 0x7ffff6873375
> 5    start_thread
> /usr/lib/debug/.build-id/b1/7c21299099640a6d863e423d99265824e7bb16.debug
> 333    0x7ffff48d46ba
> 6    clone    /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.23.so    109
> 0x7ffff599741d
>
>
>
>
> On Fri, Jan 25, 2019 at 9:47 AM Omar Álvarez <omar.alvarez at cinfo.es>
> wrote:
>
>> I have created a small repo with my changes based on your code. I will
>> try to update the readme today, but compiling it is pretty straightforward.
>>
>> https://github.com/omaralvarez/osgEGL
>>
>> I still need to clean up the code and see what is going on with the
>> warnings, but it looks like it is working properly with the OSG master
>> branch.
>>
>> El jue., 24 ene. 2019 a las 23:49, Trajce Nikolov NICK (<
>> trajce.nikolov.nick at gmail.com>) escribió:
>>
>>> Hi,
>>>
>>> here is how far we have got (not too far but I think it is in the right
>>> direction). Let see if you have some
>>>
>>> On Thu, Jan 24, 2019 at 12:06 AM Omar Álvarez <omar.alvarez at cinfo.es>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Sounds good. Tomorrow morning I will compile it. I will probably also
>>>> make some changes in how GL is used in CMake since to make EGL work you
>>>> need to link to GLVND GL. Thanks for the tips to get OSG to compile.
>>>>
>>>> If you have some code already I will gladly take a look and see if I
>>>> can make it work. I’ll be happy to share my findings with everybody. If
>>>> everything goes ok we should have a working example and maybe a tutorial.
>>>> Do you have a github repo?
>>>>
>>>> Regards,
>>>>
>>>> Omar.
>>>> _______________________________________________
>>>> osg-users mailing list
>>>> osg-users at lists.openscenegraph.org
>>>>
>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>>
>>>
>>>
>>> --
>>> trajce nikolov nick
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-users at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
> --
> trajce nikolov nick
>


-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190430/469fcebe/attachment.html>


More information about the osg-users mailing list