Closed lab313ru closed 8 years ago
Did you compile a 32 bit (i686) or 64 bit (i686_64) Module with msys2? Does this match your Python version?
Just compiled both 32bit and 64bit version of emu.pyd and ran it successfully with the corresponding python (in the same mingw shell environment as the gcc).
For a quick test you can run:
cd muasashi python emu_test.py
it works now, but. I'm getting: NameError: global name 'cpu' is not defined when running that command: python vamos -v -I -r -l exec:info -L log.txt PPAMI.EXE p d system:README
I think one of "-v -I -r -l exec:info -L log.txt" kills correct behaviour, because without these parameters it works good.
fixed by your pull request. merged.
d:\git\amitools>python vamos Traceback (most recent call last): File "vamos", line 14, in
from musashi import emu
ImportError: DLL load failed: ═х эрщфхэ єърчрээ√щ ьюфєы№.
Compilation with Msys2 was without any error. And there is emu.pyd file in musashi library.