Hello, I'm having some problems running PySFML programs. My system is 32-bit Arch Linux. I have python3.0 installed, and installed the full PySFML 1.5 SDK. If I try to run a simple hello world SFML program:
from PySFML import sf
window = sf.RenderWindow(sf.VideoMode(800, 600), "Floating")
text = sf.String("Hello SFML")
running = True
while running:
event = sf.Event()
while window.GetEvent(event):
if event.Type == sf.Event.Closed:
running = False
window.Clear(sf.Color.Black)
window.Draw(text)
window.Display()
I get the error:
Traceback (most recent call last):
File "ex1.py", line 2, in <module>
from PySFML import sf
ImportError: /usr/local/lib/python3.0/site-packages/PySFML/sf.so: undefined symbol: _ZNK2sf5Sound20IsRelativeToListenerEv
I tried editing the python setup.py installer as specified in
http://www.sfml-dev.org/wiki/en/tutorials/installpysfml and reinstalling, but it made no difference.
Does anyone know what the problem is?