我正在尝试在 Windows 8.1 (x64) 下的 Visual Studio 2012 (vs11) 下构建 libvpx 1.3.0。
我阅读了构建先决条件(http://www.webmproject.org/code/build-prerequisites/)并将 libvpx 配置如下:
./configure --target=x86-win32-vs11 --disable-examples --disable-docs --disable-unit-tests
配置后我做了一个make
,没有错误。但是当我在 Visual Studio 下启动解决方案并尝试构建时,我得到了这些路径错误:
1>------ Build started: Project: obj_int_extract, Configuration: Release Win32 ------
1> obj_int_extract.c
1>c1 : fatal error C1083: Cannot open source file: '.\\home\Thomas\libvpx-v1.3.0\build\make\obj_int_extract.c': No such file or directory
2>------ Build started: Project: vpx, Configuration: Release Win32 ------
2>cl : Command line warning D9002: ignoring unknown option '/home/Thomas/libvpx-v1.3.0/vp8/encoder/vp8_asm_enc_offsets.c'
2>cl : Command line error D8003: missing source filename
2> 'obj_int_extract.exe' is not recognized as an internal or external command,
2> operable program or batch file.
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(124,5): error MSB3073: The command "call obj_int_extract.bat /home/Thomas/libvpx-v1.3.0
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(124,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
我尝试了 MSYS 和 Cygwin,结果相同。任何想法 ?