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

Author Topic: [Solved] installing python-sfml on osx 10.8  (Read 7054 times)

0 Members and 1 Guest are viewing this topic.

reaverdeath101

  • Newbie
  • *
  • Posts: 3
    • View Profile
[Solved] installing python-sfml on osx 10.8
« on: August 26, 2013, 06:53:09 am »
I have sfml2.1 and cython 0.19.1 and trying to install pysfml v.1.3, it seems to install but then I get this error when trying to import sfml:

>>> import sfml
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/sfml/__init__.py", line 12, in <module>
    from sfml.window import *
ImportError: dlopen(/usr/local/lib/python2.7/site-packages/sfml/window.so, 2): Symbol not found: __ZN2sf6StringC1EPKcRKSt6locale
  Referenced from: /usr/local/lib/python2.7/site-packages/sfml/window.so
  Expected in: flat namespace
 in /usr/local/lib/python2.7/site-packages/sfml/window.so

no idea where to start troubleshooting this :(
« Last Edit: October 29, 2013, 02:40:45 am by Sonkun »

Sonkun

  • Moderator
  • Full Member
  • *****
  • Posts: 241
    • View Profile
Re: installing python-sfml on osx 10.8
« Reply #1 on: August 26, 2013, 09:59:03 am »
pySFML v1.3 is based on SFML 2.0 :)
Interested in using SFML with Python ? Try out its Python binding!

reaverdeath101

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: installing python-sfml on osx 10.8
« Reply #2 on: August 27, 2013, 09:37:52 am »
Thanks. I've changed to sfml 2.0 but am still getting the error though :S

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: installing python-sfml on osx 10.8
« Reply #3 on: August 27, 2013, 10:24:31 am »
There are two versions available for download http://www.sfml-dev.org/download/sfml/2.0/
You probably need to install the other one.
SFML / OS X developer

reaverdeath101

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: installing python-sfml on osx 10.8
« Reply #4 on: August 27, 2013, 05:03:00 pm »
sorry, yeah, now it works :)