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

Re: [pygame] Pygame2 sdlgfx error





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

> 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.

2.0.13 it is. This however is a fairly old release and not supported by
pgreloaded. It requires at least version 2.0.18 (see the README.txt for
more information about the dependencies).

Regards
Marcus

I've been trying to install sdl gfx from source, but I just get a long line of error messages concluding with this:

SDL_imageFilter.c:3501: Error: `pusha' is not supported in 64-bit mode
SDL_imageFilter.c:3759: Error: `popa' is not supported in 64-bit mode
SDL_imageFilter.c:3785: Error: `pusha' is not supported in 64-bit mode
SDL_imageFilter.c:3882: Error: `popa' is not supported in 64-bit mode
SDL_imageFilter.c:3910: Error: `pusha' is not supported in 64-bit mode
SDL_imageFilter.c:4021: Error: `popa' is not supported in 64-bit mode
make: *** [SDL_imageFilter.lo] Error 1

I'm pretty sure pygame2 has nothing to do with this, but I would like to know if anybody else on a 64 bit system is having this problem.

--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The code, comments, and challenges of a novice
software developer desperate for attention.