WebM VP8 Commissioning Environment Construction (i.)

Source: Internet
Author: User
Tags doxygen require win32 zip

There was a VP8, but the environment was completely different from H.

Pick a diary of someone else, from http://www.cnblogs.com/haar/articles/1743578.html

--------------------BEGIN-----

how to compile WebM VP8

Google compiling WebM

The WebM project is dedicated to developing a high-quality, and open video format for the web was freely available to Everyone.

Google put out this good thing, now to compile, actually very simple, because its readme said very detailed.

I compiled it with VS2005. Let's take a brief look at the process.

The source code for the download is: Http://code.google.com/p/webm/downloads/list in Vpx-vp8-debug-src-x86-win32mt-vs8-v0.9.0.zip

The details are: http://code.google.com/p/webm/downloads/detail?name=vpx-vp8-debug-src-x86-win32mt-vs8-v0.9.0.zip&can= 2&q=

1. Prerequisites

    * All x86 targets require the YASM[1] assembler is installed.
    * All Windows builds require this cygwin[2] be installed.
    * Building The documentation requires PHP[3] and doxygen[4]. If you does not
      has these packages, you must pass--disable-install-docs to the
       Configure script.
   
    [1]: Http://www.tortall.net/projects/yasm
    [2]: http://www.cygwin.com/
    [3]: http://php.net/
    [4]:/HTTP/ www.doxygen.org/
   
2. Out-of-tree builds
out of tree builds is a supported method of building the application. For
an out of the tree build, the source tree was kept separate from the object
files produced during compilation. For instance:

$ mkdir Build
$ CD Build
$ .. /libvpx/configure <options>
$ make

Because I'm not going to compile the document, I've only done the 1th step [1], [2].

I went directly to http://www.tortall.net/projects/yasm to download the yasm, the name is Yasm-1.0.1-win32.exe, I later changed to Yasm.exe, and then put this to C:/Program files/ In Microsoft Visual Studio 8/vc/bin.

Also need yasm.rules, this is in the source code of Yasm, copied to C:/Program files/microsoft Visual Studio 8/vc/vcprojectdefaults directory.

[2] Then, I had already installed the Cygwin. You do not have to download, if this is not installed, you can go to download. Two methods, one is to download others do a good local file, another is their own online installation, online installation depends on your speed, need a waiting process.

[1]], [2] all are well and can be compiled.

Extract the code to C drive, file name is VP8

$ cd/cygdrive/c/
$ CD vp8/
$ ls
CHANGELOG README Bin build docs include Lib libvpx md5sums.txt src

$ CD build/

$ .. /src/configure--target=x86-win32-vs8--ENABLE-STATIC-MSVCRT--disable-install-docs

--disable-install-docs because I did not install the document, I added this parameter.

Just a moment to wait.

Shown below:

Configuring Selected codecs
Enabling Vp8_encoder
Enabling Vp8_decoder
configuring for Target ' X86-WIN32-VS8 '
Enabling x86
Enabling Runtime_cpu_detect
Enabling MMX
Enabling SSE
Enabling SSE2
Enabling SSE3
Enabling SSSE3
disabling CCache
Enabling Postproc
Bypassing toolchain for environment detection.
Creating makefiles for X86-win32-vs8 Libs
Creating makefiles for X86-WIN32-VS8 examples
Creating makefiles for X86-WIN32-VS8 solution

$ make
[CREATE] Vpx_config.asm
[CREATE] Vpx.vcproj
.. /src/build/make/gen_msvs_proj.sh/
--lib/
--target=x86-win32-vs8/
--STATIC-CRT/
--name=vpx/
--proj-guid=dce19daf-69ac-46db-b14a-39f0faa5db74/
--module-def=vpx.def/
--ver=8/

........................

You can generate Vpx.sln and other related files.

Then use your vs2005 to open the compilation.

-------------------End--------

As stated by the original author, I am from the website

[1]: Http://www.tortall.net/projects/yasm downloaded the Ysam, and according to the process he said to install.
About Cygwin, I got the ready-made installation files from someone else, much more convenient than downloading from the Internet.

Thank you, brother.

The specific Cygwin is installed in this http://blog.csdn.net/yarina/archive/2011/06/10/6536495.aspx.

However, the VP8 environment is much more difficult than imagined.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.