Chen-tao / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

a question about how to build the new libvpx from git, Thanks! #590

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I am trying to build libvpx from git, first I got libvpx code from git:
(cygwin)    git clone http://git.chromium.org/webm/libvpx.git

then goto build-folder to configure it for vs10:
(cygwin)    ../configure --target=x86_64-win64-vs10
(cygwin)    make

then I use vs10 to open the generated vpx.sln, but when I build the vpx 
project, I got the following errors:
...
1>------ Build started: Project: vpx, Configuration: Debug x64 ------
1>Build started 6/21/2013 9:54:53 AM.
1>InitializeBuildStatus:
1>  Touching "x64\Debug\vpx\vpx.unsuccessfulbuild".
1>cl : Command line error D8004: '/I' requires an argument
1>cl : Command line error D8004: '/I' requires an argument
1>cl : Command line error D8004: '/I' requires an argument
1>  Unable to open file: No such file or directory
1>  Unable to open file: No such file or directory
1>  Unable to open file: No such file or directory
1>cl : Command line error D8004: '/I' requires an argument
1>cl : Command line error D8004: '/I' requires an argument
1>cl : Command line error D8004: '/I' requires an argument
1>  Unable to open file: No such file or directory
1>  Unable to open file: No such file or directory
1>  Unable to open file: No such file or directory
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error 
MSB3073: The command "call obj_int_extract.bat 
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5): error 
MSB3073: :VCEnd" exited with code 1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.12
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
...

I can build libvpx from libvpx-v1.1.0.zip(first configure for vs9, then update 
to vs10), and I also can build the libvpx from webrtc-libjingle, now I am 
trying the newest VP9 codec so I am trying to build libvpx from git, so could 
you tell me how to build libvpx from git? Thanks in advance!

Regards,
Bo

Original issue reported on code.google.com by boxuscie...@gmail.com on 21 Jun 2013 at 2:11

GoogleCodeExporter commented 8 years ago
Hello,

just want to let you know that I can build libvpx from git now as the following:

my system is:
xeon/win7_64bit
mingw-get-inst-20120426.exe
vs2010

building steps:
$ git clone http://git.chromium.org/webm/libvpx.git
$ cd libvpx
$ cd build
$ ../configure --target=x86-win32-vs10 --prefix=/home/bxu/libvpxGIT_00
$ make

I also tried use MinGW(without vs2010) to build libvpx from git as the 
following:
$ ./configure --target=generic-gnu --enable-vp9
$ ./configure --target=x86-win32-gcc --enable-vp9     (for asm-SIMD)

Regards,
Bo

Original comment by boxuscie...@gmail.com on 21 Jun 2013 at 7:58

GoogleCodeExporter commented 8 years ago

Original comment by louquil...@google.com on 13 Aug 2013 at 9:33