[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame2 sdlgfx error





On Fri, Jul 10, 2009 at 1:57 PM, Marcus von Appen <mva@xxxxxxxxxxxx> wrote:
On, Fri Jul 10, 2009, Evan Kroske wrote:

> When I tried to write a sdlgfx example for pygame2, I got this import error:
>
> Traceback (most recent call last):
> >   File "sdlgfxcircle.py", line 8, in <module>
> >     import pygame2.sdlgfx.primitives as gfx
> > ImportError: /usr/lib/python2.5/site-packages/pygame2/sdlgfx/primitives.so:
> > undefined symbol: arcColor
> >
>
> Here's the code that triggers it:
>
> import pygame2.sdlgfx.primitives
> >
>
> Does anybody else get this problem?

Which SDL_gfx version do you have installed?

Regards
Marcus

I installed my version from the repository a couple months ago for use with pygame2. Here's the relevant dpkg output:

ii  libsdl-gfx1.2-4                            2.0.13-4                                  drawing and graphical effects extension for
ii  libsdl-gfx1.2-dev                          2.0.13-4                                  development files for SDL_gfx

I don't know which number is the version number.

Evan Kroske