bardinov wrote:
> Thanks for your very quick reply.

No prob.


> I've downloaded the cvs version of pydirectfb but when I do "python setup.py
> install", this error appears:
> 
> building 'directfb' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -fPIC -I/usr/include/directfb -I/usr/include/python2.3 -c directfb.c -o
> build/temp.linux-i686-2.3/directfb.o
> directfb.c: Dans la fonction « DirectFB_GetCardCapabilities »:
> directfb.c:300: error: `DFBGraphicsDeviceDescription' undeclared (first use in
> this function)
> directfb.c:300: error: (Each undeclared identifier is reported only once
> directfb.c:300: error: for each function it appears in.)
> directfb.c:300: error: erreur de syntaxe before "caps"
> directfb.c:301: error: structure has no member named `GetDeviceDescription'
> directfb.c:301: error: `caps' undeclared (first use in this function)
> directfb.c: Dans la fonction « DirectFB_GetDeviceDescription »:
> directfb.c:311: error: `DFBGraphicsDeviceDescription' undeclared (first use in
> this function)
> directfb.c:311: error: erreur de syntaxe before "desc"
> directfb.c:312: error: structure has no member named `GetDeviceDescription'
> directfb.c:312: error: `desc' undeclared (first use in this function)
> directfb.c: Hors de toute fonction :
> directfb.c:417: attention : `enumvidmodecb' defined but not used
> error: command 'gcc' failed with exit status 1
> 
> Do you know where my error is?

Yes.  I thought I had a version check in there for that.  The DirectFB
API changed slightly since the 0.9.22 release (CardCapabilities changed
to GraphicsDeviceDescription).  I guess pydirectfb relies on the CVS
version of DirectFB.

Could you try to build DirectFB from CVS as well?  The CVS version has
been working well for me.  If you have problems there I can give you a
patch to make pydirectfb work with DirectFB 0.9.22.

-Rob


-- 
-------------------------------------------------------
Rob Shortt        | http://tvcentric.com | Freevo
[EMAIL PROTECTED] | http://freevo.sf.net | Free your TV


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to