From: Ed P. <epr...@co...> - 2007-04-14 22:12:27
|
Vincent Torri wrote: > On Sat, 14 Apr 2007, Ed Presutti wrote: > > >> When using the _XCB engines in Evas, there seems to be an issue with the >> detection in Ecore that causes errors. Here's what I did to reproduce >> the steps. >> >> I first tried to compile Evas with the following engines enabled. >> >> ---------------------------------------- >> Engines: >> Software X11............: yes >> Software XCB............: yes >> Software Framebuffer....: no >> Software Qtopia.........: no >> Software Memory Buffer..: yes >> DirectFB................: no >> OpenGL X11..............: yes >> Cairo X11...............: no >> XRender X11.............: yes >> XRender Xcb.............: yes >> Glitz X11...............: no >> ---------------------------------------- >> >> The XRender XCB engine fails to compile. >> > > Can you please paste the errors of the compilation ? > > Vincent > > Here are the errors from the Evas compilation. I'm running libxcb 1.0 and xcb-util 0.2, in case it's a problem with XCB lib versions. As a side note, the src/modules/engines/xrender_x11/Evas_Engine_XRender_X11.h and the src/modules/engines/xrender_xcb/Evas_Engine_XRender_Xcb.h files use the same ifndef/define lines, a little excessive copy/paste action I assume. :-) ---------------------------------------- gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine.lo -MD -MP -MF .deps/evas_engine.Tpo -c evas_engine.c -o evas_engine.o >/dev/null 2>&1 mv -f .deps/evas_engine.Tpo .deps/evas_engine.Plo /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine_ximage.lo -MD -MP -MF .deps/evas_engine_ximage.Tpo -c -o evas_engine_ximage.lo evas_engine_ximage.c gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine_ximage.lo -MD -MP -MF .deps/evas_engine_ximage.Tpo -c evas_engine_ximage.c -fPIC -DPIC -o .libs/evas_engine_ximage.o gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine_ximage.lo -MD -MP -MF .deps/evas_engine_ximage.Tpo -c evas_engine_ximage.c -o evas_engine_ximage.o >/dev/null 2>&1 mv -f .deps/evas_engine_ximage.Tpo .deps/evas_engine_ximage.Plo /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine_xrender.lo -MD -MP -MF .deps/evas_engine_xrender.Tpo -c -o evas_engine_xrender.lo evas_engine_xrender.c gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines -I/usr/include/freetype2 -g -O2 -MT evas_engine_xrender.lo -MD -MP -MF .deps/evas_engine_xrender.Tpo -c evas_engine_xrender.c -fPIC -DPIC -o .libs/evas_engine_xrender.o evas_engine_xrender.c: In function '_xr_render_surface_clips_set': evas_engine_xrender.c:420: warning: assignment from incompatible pointer type evas_engine_xrender.c:421: error: 'Cutout_Rect' has no member named 'active' evas_engine_xrender.c:426: error: 'Cutout_Rect' has no member named 'rects' evas_engine_xrender.c:432: warning: passing argument 1 of 'evas_common_draw_context_apply_clear_cutouts' from incompatible pointer type make[5]: *** [evas_engine_xrender.lo] Error 1 make[5]: Leaving directory `/home/presutti/Code/e17/e17/libs/evas/src/modules/engines/xrender_xcb' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/home/presutti/Code/e17/e17/libs/evas/src/modules/engines' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/presutti/Code/e17/e17/libs/evas/src/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/presutti/Code/e17/e17/libs/evas/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/presutti/Code/e17/e17/libs/evas' ---------------------------------------- -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan |