[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] SDL ctypes ImportError
- To: pygame-users@xxxxxxxx
- Subject: [pygame] SDL ctypes ImportError
- From: PyMike <pymike93@xxxxxxxxx>
- Date: Sun, 13 Apr 2008 18:50:18 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 13 Apr 2008 19:50:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=ZsmgLKZm59QHZkkfG+BBT1qq1gP3sZjAVA2k2krX2Dk=; b=THpvHbbBmsRvoxLdZLnlIcJPEsb8BcbMbqrz0bIDe09QK8SWU5vo/sLXvlMKtTmHIQ0DXSLJCMRax7sYGkBzEAe2hgoSJNCyJfnyAbKVXZhZljzM2JIT1v6wXay730vrmnCs6W1HKyPLN1/n/VqtUaohJHkFs0GeLW386/0CPVg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=vsU2C+N8G3pENFLIHw0GgoEwA7bqO88fq76y30LGkSPEC7hxWEZkDBac/o7MkXKfgTr+lhKw4KsStY8D/MP64CH4XPwcfZWbi2efPGQZKacR+cc3J7YNSO052GLHclLhN+FWcvFT3z/k7CzniCHT8TeMZaqfIzNGpF3n4qUJXac=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
I've been interested in making something similar to pygame, but completely in python. I came across http://www.pygame.org/ctypes/ and after I installed the SDL lib I get this error when I run __init__.py...
>>>
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\SDL\dll.py", line 221, in <module>
_dll = SDL_DLL('SDL', 'SDL_Linked_Version')
File "C:\Python25\Lib\site-packages\SDL\dll.py", line 54, in __init__
_platform_library_name(library_name)
ImportError: Dynamic library "SDL" was not found
>>>
...and I have all the SDL DLLs that are included pygame in the same
dir as the SDL lib. I want to be able to include SDL with the pkg and
not have users have to install it into their system folder for the
python lib to work.
Please help!
--
- pymike (pymike93.googlepages.com)