Last active
February 8, 2025 17:05
-
-
Save DevStefIt/4cf6542bfaa8eaf9d2165dba08222f77 to your computer and use it in GitHub Desktop.
Statically compiling libvpx on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you opened the x64 Native Tools Command Prompt for VS 2022 and then opened MSYS2 shell command | |
echo Getting libvpx... | |
git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git | |
cd ../build | |
mkdir libvpx | |
cd libvpx | |
../../sources/libvpx/configure --target=x86_64-win64-vs17 --enable-static --enable-static-msvcrt --disable-examples --disable-tools --disable-docs --disable-unit-tests --prefix="../../installed/libvpx" | |
make | |
make install | |
mv ../../installed/libvpx/lib/x64/vpxmt.lib ../../installed/libvpx/lib/x64/vpx.lib | |
cd ../../sources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment