Skip to content

Undefined symbol: compile against latest version of SFML #122

@firefly2442

Description

@firefly2442

I compiled pysfml with the fix PR #120. I'm also trying this with the latest development version of SFML (which might be the problem). There were no compile errors during setup.py. I get the following error upon running an example:

user@machine:~/src/python-sfml/examples/pong$ python pong.py 
Traceback (most recent call last):
  File "pong.py", line 6, in <module>
    from sfml import sf
  File "/home/user/src/python-sfml/build/lib.linux-x86_64-2.7/sfml/__init__.py", line 1, in <module>
    import sfml.system
ImportError: /home/user/src/python-sfml/build/lib.linux-x86_64-2.7/sfml/system.so: undefined symbol: _Z14Time_div_floatN2sf4TimeEf

I've never used Cython before, what are some things I can do to attempt to diagnose this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions