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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - genericuser

Pages: [1]
1
Python / Vista 64-bit not working with PySFML
« on: February 11, 2010, 04:33:45 pm »
Quote from: "Tank"
The 64 Bit-compiled Python interpreter works only with 64 Bit-compiled SFML binaries.

Regarding your error: What Python version are you using? And can you provide a very short example that reproduces the problem?


Oh. I don't think I have those. Are there any prebuilt versions(DLLs), or do I have to compile them myself?

I used Python 2.6.4, and I noticed the problem when I tried out worm.py in the Python SDK.

2
Python / Vista 64-bit not working with PySFML
« on: February 10, 2010, 10:24:50 pm »
I'm trying get PySFML working on Vista; I'm using the worm.py demo to test it.

However, trying it in 64-bit Python yields the following error:

Code: [Select]
>>> from PySFML import sf

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    from PySFML import sf
ImportError: DLL load failed: %1 is not a valid Win32 application.


Trying it in 32-bit Python worked slightly better- the "PyWorm" menu came up, but when I selected any option from it, it crashed with a
Code: [Select]
"pythonw.exe has stopped working"

I've set up PySFML the "traditional" way- putting the .dlls and the bindings into a folder in site-packages- which probably explains why 64-bit Python didn't work (packages not compiled for 64b)

I still don't know why the 32-bit version crashes, though. Any clues about what's wrong?

3
Python / Translation
« on: February 10, 2010, 09:06:01 pm »
Just translated this to English:

PySFML Reference Sheet - English

A bit shoddy translation in places, but should be a good cheat sheet  :)

Pages: [1]