cnvogelg / amitools

Various tools for using AmigaOS programs on other platforms
263 stars 71 forks source link

Cannot load vamos on Windows (ImportError: DLL load failed) #19

Closed lab313ru closed 8 years ago

lab313ru commented 9 years ago

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.

cnvogelg commented 9 years ago

Did you compile a 32 bit (i686) or 64 bit (i686_64) Module with msys2? Does this match your Python version?

cnvogelg commented 9 years ago

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

lab313ru commented 8 years ago

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.

cnvogelg commented 8 years ago

fixed by your pull request. merged.