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

[pygame] SDL ctypes ImportError



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)