[OE-core] [PATCH] glew: build for EGL in non-X11 distros

Burton, Ross ross.burton at intel.com
Tue Dec 20 10:23:51 UTC 2016


On 18 December 2016 at 17:02, Andre McCurdy <armccurdy at gmail.com> 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)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161220/992bff4c/attachment-0002.html>


More information about the Openembedded-core mailing list