星期一, 2月 16, 2015

Compile Google VP9 with visual studio 2013


System: windows 8.1 64 bit

Reference:
http://www.webmproject.org/code/build-prerequisites/
http://blog.csdn.net/kl222/article/details/23101115

1. Download  Yasm 32bit
http://yasm.tortall.net/Download.html

Note: Must download 0.8.0 version, otherwise, there will cause compile errors

rename yasm-0.8.0-win32.exe to yasm.exe
Set environment path:


2. Download MinGW
http://sourceforge.net/projects/mingw/files/Installer/

3. Install MSYS

4. Execute the command line environment of VS2013

5. type  d:\mingw\msys\1.0\msys.bat

5. type cd d:/project/vp9/libvpx-v1.3.0/build


6. type $ ../configure --disable-shared --enable-static --enable-static-msvcrt  --disable-docs --disable-examples --target=x86-win32-vs12 --prefix=/usr/local/msvc



7. type make


8. errors occurs

9. find vpx.sln
10. open and correct it
11. take care of test_libvpx references, and set the linker option of vpx /SAFESEH:NO

12. make 
13. if there still errors, please open visual studio and check linker option again and then rebuild.
14. Good luck.





沒有留言: