Kautenja/nes-py

Undefined symbol "_ZTVSt9basic_iosIcSt11char_traitsIcEE"

Opened this issue · 0 comments

Describe the bug

Traceback (most recent call last):
  File "/usr/home/ManPython/venvpython311/bin/nes_py", line 5, in <module>
    from nes_py.app.cli import main
  File "/usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/__init__.py", line 2, in <module>
    from .nes_env import NESEnv
  File "/usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/nes_env.py", line 23, in <module>
    _LIB = ctypes.cdll.LoadLibrary(glob.glob(_LIB_PATH)[0])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ctypes/__init__.py", line 454, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: /usr/home/ManPython/venvpython311/lib/python3.11/site-packages/nes_py/lib_nes_env.cpython-311.so: Undefined symbol "_ZTVSt9basic_iosIcSt11char_traitsIcEE"

To Reproduce

Steps to reproduce the behavior:

  1. nes_py -r E:\roms\1.nes

Expected behavior

Run simple mario game.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Operating System: W11
  • Python version: 311
  • C++ compiler and version:
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x86
    C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\Hostx64\x64

Additional context

nes_py-8.2.1.tar.gz