標籤:32位 win doc defaults support html figure build bit
1. webm官網
下載版本:http://code.google.com/p/webm/downloads/list建立過程這裡有比較詳細的英文說明:http://www.webmproject.org/code/build-prerequisites/懶得翻譯的話就繼續往下看吧。
2. yasm和cygwin
a. yasm:http://yasm.tortall.net/Download.html第一步, 按照需要下載所需yasm,32位或64位;VS的Microsoft Visual Studio x.0/VC/bin 在 Program Files (x86) 還是Program Files 中,前者放32bit就可以,後者放64bit,並將yasm的任意下載版本改名為yasm.exe。第二步, 將yasm源檔案中的yasm.rules放在Microsoft Visual Studio x.0/VC/VCProjectDefaults下。附件,yasm.rules.
b. cygwin:http://cygwin.com/install.html安裝過程參見:http://www.programarts.com/cfree_ch/doc/help/UsingCF/CompilerSupport/Cygwin/Cygwin1.htm第一次安裝在windows下的童鞋,還要安裝下make,如果不知道是哪些,就把所有帶make的都選上吧,否則後面無法使用哦。
c. 另外如果需要安裝文檔,需要PHP和DoxygenPHP:http://php.net/
Doxygen:http://www.doxygen.org/
3. vp9安裝
a. 將vp9的安裝包解壓在某個目錄下,如D:\test\vpx,並在D:\test下建立一個build目錄,即D:\test\build;
b. 雙擊cygwin,進入所在目錄在命令列輸入,$ cd \cygdrive\d\build$ ../vpx/configure --target=x86-win32-vs8 --enable-static-msvcrt --disable-install-docsvs9---VS2008;vs8----VS2005;--disable-install-docs表示不安裝文檔;注意:vpx下面也有一個build目錄,所以不要進錯了,是D:\test\build目錄。
c. 配置正確後,命令列$ make命令列下顯示內容不一定完全相同。等待建立VS工程。
e. 編譯VS工程開啟VS工程,在需要編譯的項目右鍵Custom Build Rules,在彈出框裡選擇yasm,OK,編譯就可以了。
windows下建立vp9的VS版本