I know of a couple other people trying to do this. Let me know how you get on with the X-less OSG.
On Wed, Jan 23, 2019 at 7:31 PM Julien Valentin <julienvalenti...@gmail.com> wrote: > few advices: > check your driver support with eglinfo > try adding -legl to the linker flags > try VERBOSE=1 make > to check used linkerflags > Cheers > > > > Omar Álvarez wrote: > > Hi. > > I am trying to compile OSG with EGL support in order to be able to run > OSG server side without an X display server. I have installed EGL headers > and the latest and the NVIDIA driver. EGL is detected by OSG and I am > requesting GLVND GL: > > > cmake -DOpenGL_GL_PREFERENCE=GLVND . > > > > > > I am getting linking errors: > > > [ 33%] Linking CXX executable ../../bin/osgversion > > > ../../lib/libosg.so.3.6.3: undefined reference to `glDrawArrays' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glCallList' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glPointSize' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glTexParameteriv' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glFrontFace' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glLightModeli' > > > ../../lib/libosg.so.3.6.3: undefined reference to `glGetBooleanv' > > > ......... > > > > > > Is this the proper way for compiling OSG with EGL support? > > I am using CMake 3.13, Ubuntu 18.04 and gcc 7.3. I think the way in > which the OpenGL library is linked has to change (to support the new CMake > flag OpenGL_GL_PREFERENCE). > > > > ------------------ > > Post generated by Mail2Forum > > > ------------------------ > Twirling twirling twirling toward freedom > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=75535#75535 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Legal/IP • Forensics • Imaging • UAVs • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775) 623-PIXL [7495]
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org