vendetta / libvendetta / mpv / win64 / README.md
28 lines · 21 sloc · 1.06 KB
Raw

win64 mpv kit

Headers and import library for building vendetta for Windows. The runtime DLL is not here: download mpv-dev-x86_64-*.7z from https://github.com/shinchiro/mpv-winbuild-cmake/releases and put libmpv-2.dll next to the built vendetta.exe.

Contents

Regenerating the import library

From an extracted mpv-dev-x86_64-*.7z:

x86_64-w64-mingw32-objdump -p libmpv-2.dll \
  | sed -n '/Ordinal\/Name Pointer] Table/,$p' \
  | grep -oE '[A-Za-z_][A-Za-z0-9_]*$' | grep -E '^(mpv_|api_)' | sort -u > mpv.def
{ printf 'LIBRARY libmpv-2.dll\nEXPORTS\n'; sed 's/$/ @7/' mpv.def; } > mpv_full.def
x86_64-w64-mingw32-dlltool -d mpv_full.def -l libmpv.dll.a -m i386:x86-64