maybe it's a version problem. try to use other.
 
Best Regards

闫石
----------------------------------------------
Email: [EMAIL PROTECTED]
----------------------------------------------
 


  _____  

发件人: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 代表 [EMAIL PROTECTED]
发送时间: 2008年1月10日 11:33
收件人: directfb-dev@directfb.org
主题: [directfb-dev] something error when compiling DirectFB-examples-1.0.1.
tar.gz


hi,
    when i excute the command "make " in the directory of
DirectFB-example,some error message as follows retuned  :
df_dok.c: In function ‘blit180’:
df_dok.c:911: error: ‘DSBLIT_ROTATE180’ undeclared (first use in this
function)
df_dok.c:911: error: (Each undeclared identifier is reported only once
df_dok.c:911: error: for each function it appears in.)
df_dok.c: In function ‘common_load_image’:
df_dok.c:1199: error: implicit declaration of function
‘dfb_pixelformat_name’
df_dok.c:1199: warning: format ‘%s’ expects type ‘char *’, but argument
7 has type ‘int’
df_dok.c:1199: warning: format ‘%s’ expects type ‘char *’, but argument
7 has type ‘int’
df_dok.c: In function ‘main’:
df_dok.c:1261: error: ‘DFBSurfaceRenderOptions’ undeclared (first use in
this function)
df_dok.c:1261: error: expected ‘;’ before ‘render_options’
df_dok.c:1618: warning: format ‘%s’ expects type ‘char *’, but argument
6 has type ‘int’
df_dok.c:1626: error: ‘IDirectFBSurface’ has no member named ‘SetMatrix’
df_dok.c:1628: error: ‘render_options’ undeclared (first use in this
function)
df_dok.c:1628: error: ‘DSRO_MATRIX’ undeclared (first use in this
function)
df_dok.c:1632: error: ‘DSRO_ANTIALIAS’ undeclared (first use in this
function)
df_dok.c:1635: error: ‘DSRO_SMOOTH_UPSCALE’ undeclared (first use in this
function)
df_dok.c:1635: error: ‘DSRO_SMOOTH_DOWNSCALE’ undeclared (first use in
this function)
df_dok.c:1637: error: ‘IDirectFBSurface’ has no member named
‘SetRenderOptions’
make[2]: *** [df_dok.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

it seems that something wrong in the df_dok.c ,did anyone resolve this
problem?

the source file of df_dok.c is attached.





[EMAIL PROTECTED] 
[EMAIL PROTECTED] 
          2008-01-10 

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to