Andrew and all,
I'm looking to compile https://github.com/hendersa/bes for an Adafruit 1.8"
SPI LCD and GPIO buttons.
I'm trying to integrate on top of Debian Jessie or Stretch. I plan to make
the PRU updates to use remote-proc as that change looks pretty easy.
Do you compile BES without X11? I'm thinking that might be my issue, but
I'm not sure how the various EGL headers get selected in Debian.
I'm getting the following error:
g++ -I. -Ines -Isqlite -c -O3 -fomit-frame-pointer -pedantic -Wall -W
-Wno-unused-parameter -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-DFRAMESKIP -DNO_FFMPEG -DFINAL_VERSION -DSDL -DNO_LINK -DC_CORE -DNO_ASM
-DZLIB -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H
-DHAVE_STDINT_H eglSetup.cpp -o eglSetup.o
eglSetup.cpp: In function ‘int EGLInitialize()’:
eglSetup.cpp:123:64: error: invalid conversion from ‘EGLSurface {aka
void*}’ to ‘EGLNativeWindowType {aka long unsigned int}’ [-fpermissive]
surface = eglCreateWindowSurface(display, config, window, 0);
^
Makefile:75: recipe for target 'eglSetup.o' failed
make: *** [eglSetup.o] Error 1
Here's what I have in my include file:
/usr/include/EGL/egl.h:EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface
(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint
*attrib_list);
/usr/include/EGL/egl.h:typedef void *EGLSurface;
/usr/include/EGL/eglplatform.h:typedef EGLNativeWindowType
NativeWindowType;
I'm thinking I can just adjust the BES source to use (NativeWindow)X, where
X is my framebuffer, but
https://e2e.ti.com/support/embedded/linux/f/354/t/116795 points to problems
specifying any framebuffer other than 0. Is hacking on eglSetup.cpp what I
should be doing or will it be fruitless?
Regards,
Jason
--
https://beagleboard.org/about
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QP%3D9pOtmDpLpaxsQH4FkcLDL%2BXgiNUX7huJa7VPMtA-%3DpA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.