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).
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org