我正在尝试在Windows8.1 (x64)下的Visual Studio2012 (vs11)下构建libvpx1.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,同样的结果。有什么想法吗?
发布于 2014-05-16 01:48:45
好了,问题解决了:
1.3.0快照似乎有问题,克隆git是解决方案,它可能会在下一个快照中消失。
通过Cygwin配置,MSYS缺少perl模块。
https://stackoverflow.com/questions/23684747
复制相似问题