Srikanth Nori wrote: > Hi all, > > I am trying to cross-compile DirectFB 1.1.0 on TI's DaVinci platform > such that it can be statically linked into my application. > > I've used the following configure arguments > > ./configure --enable-static --enable-fbdev --with-inputdrivers=none > --with-gfxdrivers=none --disable-sysfs --disable-multi --disable-sdl > --disable-x11 --disable-png --disable-jpeg --disable-freetype > --disable-freetype2 --host=arm-linux --target=arm-linux > --prefix=/home/user/inst_dfb/ > > After configuring, 'make' and 'make install' run without any obvious errors. > > I am now trying to run the simple directfb sample > (http://directfb.org/docs/DirectFB_Tutorials/simple.html) that draws a > straight line on screen by compiling it with the following arguments: > > arm_v5t_le-gcc testdfb.c -I/home/user/inst_dfb/include/directfb/ > -static /home/user/inst_dfb//lib/directfb-1.1-0/wm/libdirectfbwm_default.o > /home/user/inst_dfb//lib/directfb-1.1-0/systems/libdirectfb_fbdev.o > -L/home/user/inst_dfb//lib -ldirectfb -lfusion -ldirect -lpthread
Please try the special Davinci driver available via git. Don't use fbdev system, but devmem and the davinci graphics driver. You can also try if the division by zero goes away with the "no-vt" or just "no-vt-switch" option, but you won't have ARGB with the fbdev system. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
