我已按照此 question 中提到的相同步骤进行操作.我设置的一些额外标志获得专有 FFMPEG 编解码器。它每次都失败,并带有以下日志。
[233/19712] ACTION Copying D3D Compiler DLL...
FAILED: F:\Chrome\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 copy_compiler_dll_target_copy_dll_a30e198148542d4bce19a5c818c6884f..rsp ..\..\third_party\angle\src
[233/19712] CC obj\third_party\icu\source\stubdata\icuuc.stubdata.obj
ninja: build stopped: subcommand failed.
对于 FFMPEG 使用以下设置命令:
set GYP_DEFINES=branding=Chromium buildtype=Official component=shared_library disable_nacl=1 enable_automation=0 enable_captive_portal_detection=0 enable_google_now=0 enable_hidpi=0 fastbuild=1 ffmpeg_branding=Chrome incremental_chrome_dll=0 proprietary_codecs=1 remoting=0
我的系统信息详情:
Windows 10 64 Bit 8 GB RAM. Trail Version of Visual Studio 2015 Installed, but now it is expired. Now I have installed Community Version 2013 update 4.
它会影响两个版本的执行吗?检查路径,它使用 Window Kit 8.1
。我还应该检查哪些其他部分才能成功执行?
最佳答案
您需要安装Win10 SDK。那对我有用。 http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=13945#p29872
LE:但是,稍后在构建中您可能会发现各种未找到的 header 和/或其他编译错误。这很可能是由于安装 Win 10 SDK 之后首先启动了 build\gyp_chromium.py
命令并意识到它没有工作。您需要做的是删除目标输出中生成的所有预编译 header (例如 out\Debug
),然后重新运行 build\gyp_chromium.py
和 ninja -C ...
命令。
我从 Daniel Bratell 在 https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/PacUmAmrWrk 的回答中找到了这个
LLE:如果仍有问题,请完全删除 out
文件夹并重新运行 gclient runhooks
;然后是 ninja -C out\Debug
命令
关于windows - Windows :D3D Compiler DLL (\third_party\angle\src) 上的 Chromium 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34291423/