Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Running on windows.  (Read 6304 times)

0 Members and 1 Guest are viewing this topic.

noodlesgc

  • Guest
Running on windows.
« on: September 03, 2009, 11:47:06 pm »
I'm trying to get PySFML to run on windows.
I have python 2.6, so I downloaded SFML-1.5-python2.6-windows.
When I import PySFML, it works, by when I try:
Code: [Select]
from PySFML import sf
I get the following:

Quote
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    from PySFML import sf
ImportError: DLL load failed: The specified module could not be found.


What DLL's am I missing?

From the Python Install - Tutorial Page, it says:

Quote
In order to use PySFML, you need to download and install the archive containing the development files for your OS (SFML-x.x-python-dev-xxx). It can be found on the download page. This archive contains the binaries of PySFML which can be used directly. You won't need anything else to use PySFML.


I couldn't seem to find a python-dev package.
I downloaded the python-sdk package, but it seemed that it required to be compile, and I do not have any compiler on my windows machine.
Are there no precompiled python binaries?
Any help would be greatly appreciated.

remi.k2620

  • Full Member
  • ***
  • Posts: 186
    • View Profile
    • http://remi.tuxfamily.org
Running on windows.
« Reply #1 on: September 04, 2009, 02:27:01 pm »
You need sfml mingw libraries (http://downloads.sourceforge.net/sfml/SFML-1.5-dev-windows-mingw.zip) : sfml-graphics.dll, sfml-system.dll, sfml-window.dll, sfml-audio.dll, and from the extlibs folder : libsndfile-1.dll and openal32.dll
See http://sfml-dev.org/forum/viewtopic.php?p=8022#8022 if you don't know where to put them.

diki

  • Newbie
  • *
  • Posts: 1
    • View Profile
Running on windows.
« Reply #2 on: December 09, 2009, 10:54:39 pm »
Quote from: "remi.k2620"
sfml-graphics.dll, sfml-system.dll, sfml-window.dll, sfml-audio.dll, and from the extlibs folder : libsndfile-1.dll and openal32.dll


you should definitely mention this on the corresponding tutorial page, which does not even remotely hint at it. that can be a real newbie-killer.