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

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Wed Jun 19 00:28:36 PDT 2019


Hi Roy,

as promissed. See attached

On Tue, Jun 18, 2019 at 9:58 PM Trajce Nikolov NICK <
trajce.nikolov.nick at gmail.com> wrote:

> Hi Roy,
>
> I am not on Linux box at the moment but as I can recall I had to link
> against the NVIDIA libraries, for OpenGL and for the GLdispatch. No idea
> how this works on Windows. Tomorrow from work I can send you the whole
> working project
>
> On Tue, Jun 18, 2019 at 6:27 PM Roy Lichtenheldt <Roy.Lichtenheldt at dlr.de>
> wrote:
>
>> Hi Nick,
>>
>> I got exactly the same stack trace you got on running my example - I
>> tried linking explicitly to EGL, GLdispatch and OpenGL, but it seems I got
>> that wrong. Any hints (or possibly an adapted cmakeLists ;-) )?
>>
>> Thank you!
>>
>> Cheers,
>> Roy
>>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=76300#76300
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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/20190619/b61cf667/attachment.html>
-------------- next part --------------
SET(TARGET_SRC osgviewer.cpp )

LINK_DIRECTORIES(/usr/lib/nvidia-384/)



SET(TARGET_COMMON_LIBRARIES
        OpenThreads
        osg
        osgDB
        osgUtil
        osgGA
        osgViewer
        osgText
)

SETUP_APPLICATION(osgviewer)

TARGET_LINK_LIBRARIES(${TARGET_TARGETNAME} EGL GLdispatch OpenGL)







More information about the osg-users mailing list