Open DimastyK opened 6 months ago
CC @tomm it seems like when I build the emulator in MSys2 per instructions, it hard compiles in some paths within the MSys2 filesystem which od not exist, resulting in LoadLibraryExW not finding the file.
C:\Users\Max\Downloads\fab-agon-2>fab-agon-emulator.exe --verbose
VDP firmware: "C:/msys64/home/Max/work/fab-agon-emulator\\share\\fab-agon-emulator\\vdp_console8.so"
thread 'main' panicked at src\vdp_interface.rs:59:77:
called `Result::unwrap()` on an `Err` value: LoadLibraryExW { source: Os { code: 126, kind: Uncategorized, message: "Das angegebene Modul wurde nicht gefunden." } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Can the emulator be made to serach in just the relative firmware
directory instead of searching for compile-time generated paths?
Nevermind, I did a make clean
and make -j8
again and the binary fixed itself up. Might have to do with running PREFIX=/home/Max/work/fab-agon-emulator make
beforehand.
Nevermind, I did a
make clean
andmake -j8
again and the binary fixed itself up. Might have to do with runningPREFIX=/home/Max/work/fab-agon-emulator make
beforehand.
well, I managed issue, compiled .exe requires some library from mingw32: libstdc++-6.dll libgcc_s_dw2-1.dll libwinpthread-1.dll SDL2.dll
btw. emulator crashes if plot routine outside of screen.
fab-agon-emulator.exe said: thread 'main' panicked at src\vdp_interface.rs:59:77: called
Result::unwrap()
on anErr
value: LoadLibraryExW { source: Os { code: 193, kind: Uncategorized, message: "%1 не является приложением Win32." } } note: run withRUST_BACKTRACE=1
environment variable to display a backtrace