Hello again,
I disabled zlib support to get around the error posted below - but now
the EGL part fails, even though I think I have all the necessary
libs/headers installed. The error message:
make[3]: Entering directory `/root/local/DirectFB/systems/egl'
CC egl_primary.lo
CC egl_system.lo
egl_system.c: In function 'InitEGL':
egl_system.c:70:6: error: unknown type name 'EGL_DISPMANX_WINDOW_T'
egl_system.c:71:6: error: unknown type name 'DISPMANX_ELEMENT_HANDLE_T'
egl_system.c:72:6: error: unknown type name 'DISPMANX_DISPLAY_HANDLE_T'
egl_system.c:73:6: error: unknown type name 'DISPMANX_UPDATE_HANDLE_T'
egl_system.c:74:6: error: unknown type name 'VC_RECT_T'
egl_system.c:75:6: error: unknown type name 'VC_RECT_T'
egl_system.c:77:6: error: implicit declaration of function
'bcm_host_init' [-Werror=implicit-function-declaration]
egl_system.c:121:6: error: implicit declaration of function
'graphics_get_display_size' [-Werror=implicit-function-declaration]
egl_system.c:123:14: error: request for member 'x' in something not a
structure or union
egl_system.c:124:14: error: request for member 'y' in something not a
structure or union
egl_system.c:125:14: error: request for member 'width' in something
not a structure or union
egl_system.c:126:14: error: request for member 'height' in something
not a structure or union
egl_system.c:128:14: error: request for member 'x' in something not a
structure or union
egl_system.c:129:14: error: request for member 'y' in something not a
structure or union
egl_system.c:130:14: error: request for member 'width' in something
not a structure or union
egl_system.c:130:32: error: request for member 'width' in something
not a structure or union
egl_system.c:131:14: error: request for member 'height' in something
not a structure or union
egl_system.c:131:32: error: request for member 'height' in something
not a structure or union
egl_system.c:133:6: error: implicit declaration of function
'vc_dispmanx_display_open' [-Werror=implicit-function-declaration]
egl_system.c:134:6: error: implicit declaration of function
'vc_dispmanx_update_start' [-Werror=implicit-function-declaration]
egl_system.c:136:6: error: implicit declaration of function
'vc_dispmanx_element_add' [-Werror=implicit-function-declaration]
egl_system.c:137:61: error: 'DISPMANX_PROTECTION_NONE' undeclared
(first use in this function)
egl_system.c:137:61: note: each undeclared identifier is reported only
once for each function it appears in
egl_system.c:139:18: error: request for member 'element' in something
not a structure or union
egl_system.c:140:18: error: request for member 'width' in something
not a structure or union
egl_system.c:141:18: error: request for member 'height' in something
not a structure or union
egl_system.c:142:6: error: implicit declaration of function
'vc_dispmanx_update_submit_sync' [-Werror=implicit-function-declaration]
egl_system.c:146:6: warning: passing argument 3 of
'eglCreateWindowSurface' makes integer from pointer without a cast
[enabled by default]
In file included from egl_system.h:33:0,
from egl_system.c:47:
/usr/include/EGL/egl.h:265:31: note: expected 'EGLNativeWindowType'
but argument is of type 'int *'
cc1: some warnings being treated as errors
make[3]: *** [egl_system.lo] Fehler 1
make[3]: Leaving directory `/root/local/DirectFB/systems/egl'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/root/local/DirectFB/systems'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/root/local/DirectFB'
make: *** [all] Fehler 2
I have found another failure in the cle266 driver (I have some old via
boards which I'd like to support as well), which I will disable now as
well. So far, the git doesn't look too promising, though.
Greetings
Kasi Mir
Am 22.08.2012 22:41, schrieb Karim 'Kasi Mir' Senoucci:
Hello all,
thanks for replying to quickly.
Am 22.08.2012 21:28, schrieb Chuck McManis:
Presumably you recognized your bug where you said '180' but you really
meant '90' (rotating 180 will cause the display to be upside down).
Yes, I meant SetRotation(90), that was a simple typo. It doesn't work
either way with 1.4.17.
I built DirectFB from the git repo (v1.7) and didn't have the same
issues. Mostly I've been trying to get to an accellerated solution but
it seemed to work as I would expect.
I just tried to compile the git version, but the compile fails in
surface.c:
surface.c: In function 'dfb_surface_dump_buffer2':
surface.c:1280:6: error: unknown type name 'gzFile'
surface.c:1280:36: warning: initialization makes integer from pointer
without a cast [enabled by default]
surface.c:1280:49: warning: initialization makes integer from pointer
without a cast [enabled by default]
surface.c:1457:11: error: implicit declaration of function 'gzdopen'
[-Werror=implicit-function-declaration]
surface.c:1468:11: error: implicit declaration of function 'gzwrite'
[-Werror=implicit-function-declaration]
surface.c:1541:11: error: implicit declaration of function 'gzclose'
[-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
I have no idea what the problem is; thus, I can't test it with 1.7.0
at the moment.
I'm also running on ARM rather than x86 but that shouldn't matter. Do
you have a buildable piece of sample code that doesn't work?
I will try to make a demo program out of my application tomorrow.
Currently, it 10024 lines long and depends on a few other libs as
well, so that's not useful for testing purposes.
Greetings
Kasi Mir
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev