On Tue, Dec 20, 2016 at 2:23 AM, Burton, Ross <[email protected]> wrote: > > On 18 December 2016 at 17:02, Andre McCurdy <[email protected]> wrote: >> >> The glew 2.0.0 release added support for building for EGL: >> >> http://glew.sourceforge.net/log.html >> >> Add PACKAGECONFIG options for 'opengl' (ie the previous default, with >> dependencies on opengl and X11) and 'egl', which depends on EGL only >> and allows glew to be built for non-X11 distros. > > This failed on the nightly-no-x11 build on the AB: > > tmp/linux-egl/default/shared/visualinfo.o: In function `main': > /usr/src/debug/glew/2.0.0-r0/glew-2.0.0/src/visualinfo.c:177: undefined > reference to `glGetString' > /usr/src/debug/glew/2.0.0-r0/glew-2.0.0/src/visualinfo.c:178: undefined > reference to `glGetString' > /usr/src/debug/glew/2.0.0-r0/glew-2.0.0/src/visualinfo.c:179: undefined > reference to `glGetString' > /usr/src/debug/glew/2.0.0-r0/glew-2.0.0/src/visualinfo.c:181: undefined > reference to `glGetString' > collect2: error: ld returned 1 exit status > > (which is DISTRO=poky, DISTRO_FEATURES_remove=x11)
Sorry about that. I was testing against an embedded 3D driver which blurs the lines a little between libEGL and libGLESv2. With mesa LDFLAGS needs to explicitly include either libGL, libGLESv1, libGLESv2 or libGLESv3. I'll send a v2 patch which adds PACKAGECONFIG options for each case. -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
