Hi,

I'm trying to learn how to use directfb to write a statically linked program (using the example from the examples image.c tarball as a base) that among other things will be displaying a variety of graphics but the screen is rotated in the device CCW 90 degrees so just blitting the image using the device information puts the graphic in the middle of the screen and rotated. i've tried using --dfb:layer-rotate=90 but as i'm not sure whatelse i need to do in my app to get that working it does nothing and if i manually rotate the image using gimp and try loading that i get a floating point error.

when i start the program on the device i get two Unimplimented errors

/mnt/sd0 # ./image.1 --dfb:layer-rotate=90

 ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.2 |~~~~~~~~~~~~~~~~~~~~~~~~~~
      (c) 2001-2009  The world wide DirectFB Open Source Community
      (c) 2000-2004  Convergence (integrated media) GmbH
    ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2009-11-27 19:09)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <2093056>... (*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] <2093056>... (*) DirectFB/FBDev: Found 'PXA' (ID 0) with frame buffer at 0xa1e81000, 150k (MMIO 0x00000000, 0k) (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <2093056>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!!!)  *** UNIMPLEMENTED [dfb_surface_create] *** [surface.c:155]
(*) Direct/Interface: Using 'PNG' implementation of 'IDirectFBImageProvider'.
(!!!)  *** UNIMPLEMENTED [dfb_surface_reconfig] *** [surface.c:467]

which I don't get when i run the app without the --dfb:layer-rotate=90
so i assume i'm linking incorrectly or missing something.


gcc  -g -O2  -o image image.o -ljpeg -L/usr/local/lib -lpng12 \
-lz -L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread \
-lz -L/usr/local/ssl/lib -lssl -lcrypto -ldl -lm \
/usr/local/lib/directfb-1.4-0/systems/libdirectfb_fbdev.o \
/usr/local/lib/directfb-1.4-0/wm/libdirectfbwm_default.o \
/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBFont/libidirectfbfont_ft2.o -lfreetype \
/usr/local/lib/directfb-1.4-0/inputdrivers/libdirectfb_keyboard.o \
/usr/local/lib/directfb-1.4-0/inputdrivers/libdirectfb_linux_input.o \
/usr/local/lib/directfb-1.4-0/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.o -lpng -lm \
-L/usr/local/lib -ldirectfb -lfusion -ldirect -lpthread -ldl -lz -static



can anyone give me any pointers?


Thanks
Russell
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to