On Mon, Jul 30, 2012 at 10:55 AM, Amaresh Kotekal <amareshkote...@gmail.com> wrote: > > My name is Amaresh. I am working as a junior engineer in Altech UEC on STB > domain from past 6 months. I am very much interested to learn directfb. > > I have installed directfb library on my virtual machine fedora 12. > > I am trying to load sample png image and display it.
Hi Amaresh, Mmmm, you are not checking *any* errors and every DFB function returns an error code. I'm sure you know this is *very* bad practice, and this could explain your core dump (or maybe not). Plus, to find your segfault you can add a printf between each DFB call. Have you done that? For documentation you can read this http://directfb.org/docs/DirectFB_Reference_1_6/index.html (it's not much, but that's all there is) Also, perhaps you can find useful my Lua binding to DirectFB. It includes many examples and it is easier to use, for quick testing. https://github.com/ezequielgarcia/directfb-lua Hope it helps and good luck, Ezequiel. _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users