dvdhrm / kmscon

Linux KMS/DRM based virtual Console Emulator
http://www.freedesktop.org/wiki/Software/kmscon
Other
431 stars 81 forks source link

GL errors on minimal compile #109

Closed slothbag closed 10 years ago

slothbag commented 10 years ago

Tried to compile with minimal dependancies and it fails with this error:

  CC       src/libshl_la-shl_gl_math.lo
In file included from src/shl_gl_math.c:34:0:
src/shl_gl.h:36:23: fatal error: GLES2/gl2.h: No such file or directory
 #include <GLES2/gl2.h>
                       ^
compilation terminated.
./configure --with-video=fbdev,drm2d --with-renderers= --with-fonts=unifont --disable-multi-seat --with-sessions=dummy,terminal
dvdhrm commented 10 years ago

Oh, yeah, there's a build-time dependency on GL headers, even though it's not used at run-time. I fixed it in master. Thanks!