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 - ToadD-y

Pages: [1]
1
Python / [Linux] Installation troubleshooting about libsfml-graphics
« on: July 06, 2010, 11:32:06 am »
Hi, i'm trying to install SFML for python.

I downloaded full python SDK from the website and follow the "how to install" about PySFML. Everything's fine, no error with the build and install command but when i wanna launch a script (a samples for example), i get this :

Code: [Select]

Traceback (most recent call last):
  File "test_py.py", line 2, in <module>
    from PySFML import sf
ImportError: libsfml-graphics.so.1.6: cannot open shared object file: No such file or directory


I took a look in the setup.py file and i saw this line :

Code: [Select]

library_dirs=['../lib/mingw']


...

why a mingw repository? It doesn't exist and so, i change this line by :

Code: [Select]

library_dirs=['/usr/local/lib'']


(my libsfml-graphics.so.1.6 is located in this path)

I do the installation process again (build + install) but i get the same.

Thanks for your help.

Pages: [1]