SFML community forums

Bindings - other languages => Python => Topic started by: christoph on April 10, 2010, 12:53:55 pm

Title: 1.6 python release?
Post by: christoph on April 10, 2010, 12:53:55 pm
Hi all!

the python binding for 1.5 doesn't build against 1.6. is there a chance of seeing a 1.6 python binding soon?If it's all that is needed I can of course prepare a patch to make it build again (1.6 doesn't introduce new stuff the binding needs to forward, right?)
Title: 1.6 python release?
Post by: Kaoron on April 10, 2010, 05:04:11 pm
trunk is ok, you should go for it.
Title: 1.6 python release?
Post by: Svenstaro on May 28, 2010, 12:39:08 pm
Laurent posted my new PySFML 1.6 packages. Let me know if stuff is going wrong.
Title: 1.6 python release?
Post by: fragged on June 19, 2010, 06:11:40 pm
Getting 'ImportError: /usr/lib64/python2.6/site-packages/PySFML/sf.so: undefined symbol: _ZNK2sf5Image12GetTexCoordsERKNS_4RectIiE' from Python 2.6 and 3.1, under Gentoo X86_64...

Installed the package fresh,  so may be something I've done wrong, is anyone else getting this error?
Title: 1.6 python release?
Post by: Svenstaro on June 19, 2010, 06:17:44 pm
Assuming you just compiled SFML 1.6 and PySFML 1.6 against each other, everything should be working smoothly. Were there any errors while making PySFML?
Title: 1.6 python release?
Post by: fragged on June 20, 2010, 07:13:00 am
There were no errors while compiling PySFML or SFML itself, interestingly enough on further investigation a few of the sample programs with SFML segfault (but not all) so I'm gonna guess its something to do with my system..

Admittedly, I dont know a whole lot about Gentoo, I had a look at some of the ebuilds on their portage bugtraq, seems that SFML brings packages to resolve many of the dependencies itself, which is not really the gentoo way.. I'll mess around with the 1.4 ebuild see if I can get it to work with 1.6 when I get more time (Uni exams in a week :P)
Title: 1.6 python release?
Post by: Svenstaro on June 20, 2010, 02:36:03 pm
You should just take the source packages provided on this page for now. Gentoo tends to ship really old software.