you must compile DirectFB_examples, like :

$export  PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
$export  LD_LIBRARY_PATH=/usr/local/lib

$./configure
$make
$make install

test example:
$df_bltload

compile test.c:

$gcc `pkg-config --cflags --libs directfb` -o dfb_test dfb_test.c

2008/4/23 animesh <[EMAIL PROTECTED]>:

>  Hi All,
>     I am using DirectFB 1.0.1, and have downloaded the directfb examples.
>     Till now i was working on the surface and palette, so i was able to
>     execute those examples related to surface and palette, like df_andi.c,
> df_dok.c.
>
>     Now i am trying to work on the video layer, So i wanted to execute the
> df_video.c
>     separately.
>     So i need the following help from you all.
>
>     For compiling df_video.c.
>     1) How can i compile the df_video.c separately?
>     2) I had compiled the whole example code and when i said
>           ./df_video some.mpg
>        where some.mpg is any mpeg video file.
>        It says directfbCreateVideoProvider() not supported.
>        And the application exits.
>        What is the problem in that?
>     3) I want to execute any mpeg file using df_video.c, Can i do that.
>        If i can do that then please mention how?
>
> Hope to see some reply which will help me out.
>
> Thanks in advance.
>
> Regards
> Animesh.
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>


-- 
收啤酒瓶子,1毛1一个.
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to