[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] sound crackling and fmod
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] sound crackling and fmod
- From: Greg Ewing <greg.ewing@xxxxxxxxxxxxxxxx>
- Date: Wed, 02 May 2007 22:01:31 +1200
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Wed, 02 May 2007 06:04:42 -0400
- In-reply-to: <195624.83820.qm@web50703.mail.re2.yahoo.com>
- References: <195624.83820.qm@web50703.mail.re2.yahoo.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711)
Andrew Pape wrote:
First, I used gcc as shown on the following
page:http://ldots.org/pyrex-guide/2-compiling.html#gcc
<http://http://ldots.org/pyrex-guide/2-compiling.html#gcc>
Specifically, I typed: gcc -c -fPIC -I/usr/include/python2.5/ pySonic.c
It has a setup.py file, so you should be able to compile
it with distutils instead of invoking gcc yourself.
From the setup.py, on Unix systems it expects the
fmod distribution to be in a subdirectory called "fmod"
under the directory where the .pyx files etc are. Then
you should just be able to say
python setup.py install
At least that's the way it looks like it's mean to work.
I don't have a Linux system handy to try it on right now.
If it can't find Python.h, check whether you have a
directory called /usr/include/pythonX.Y (where X.Y
is whatever Python version you're using) containing
Python.h and the other .h files that it uses. If not,
you may have to tracl down and install the appropriate
"developer" package for Python (it will be called something
like "python-X.Y-devel"). You shouldn't have to install
the complete Python source.
--
Greg