Step 1:在http://www.msys2.org/下载msys2,安装完成后打开msys2
Step 2:在终端中输入(这一步很重要)
pacman -S mingw-w64-x86_64-cmake gcc mingw-w64-x86_64-winpthreads-git mingw-w64-x86_64-libwinpthread-git binutils coreutils yasm git base-devel p7zip
Step 3:在终端中输入
git clone https://aomedia.googlesource.com/aom
Step 4:在终端中输入
mkdir build && cd build 创建并进入文件夹
cmake.exe ../aom -G "Visual Studio 15 2017 Win64" -DAOM_TARGET_CPU=generic引号中应改为自己所用的VS对应版本