Gigoteur/UnicornConsole

Support Python 3.6 on macOS

Closed this issue · 8 comments

$ ./px8
dyld: Library not loaded: libpython3.5m.dylib
  Referenced from: /Users/username/Downloads/PX8-0.0.1-OSX/./px8
  Reason: image not found
Abort trap: 6

Hi,

thank you for the report.

I noticed this bug too and right now you could install python 3 on OSX and export the following env variable DYLD_FALLBACK_LIBRARY_PATH, e.g:
export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib

I will try to understand how to do it automatically

Does it work ?

@hallucino Yeah, this made it pass beyond the initial crash, but it still doesn't work (due to Rust issues now).

what is the output ?

@hallucino For sure, it does not work in the itch.io desktop client. When I go to ~/Library/Application Support/itch/apps/PX8/PX8 and run it, then some games (with .px8 file) work, others (like flappy) and fill up the console with:

[2017-04-29][14:36:32][WARN] DRAW = PyErr { ptype: <class 'OverflowError'>, pvalue: None, ptraceback: Some(<traceback object at 0x117962c48>) }

Is it possibly to somehow remove the annoying FPS header?

Anyway, it looks like only flappy does not work at this time with the latest release.

ok so it seems ok, Flappy was more a test so I will take a look

@nikolay for the FPS, use F2 to disable it