Downloaded version 1.3.0 from
- open VS command line tools for x64:
- tools for x64 are named
x64 Native Tools Command Prompt for VS 2019
e.g. open windows start menu and type "x64" - a link for these tools should be located in something like
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools\VC
- tools for x64 are named
- change to extracted libwebp directory
- run build command
nmake /f Makefile.vc CFG=release-dynamic RTLIBCFG=static OBJDIR=output ARCH=x64
- open VS command line tools for x86:
- tools for x86 are named
x86 Native Tools Command Prompt for VS 2019
e.g. open windows start menu and type "x86" - a link for these tools should be located in something like
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2019\Visual Studio Tools\VC
- tools for x86 are named
- change to extracted libwebp directory
- run build command
nmake /f Makefile.vc CFG=release-dynamic RTLIBCFG=static OBJDIR=output ARCH=x86
then copy & rename:
<libwebp-dir>\output\release-dynamic\x64\bin\*.dll -> <here>\WebPWrapperLib\x64\*.dll
<libwebp-dir>\output\release-dynamic\x86\bin\*.dll -> <here>\WebPWrapperLib\x86\*.dll
For more details and instructions for compiling the library see page DevGoogle/webp/docs/compiling.