Libcef源码下载与编译
一. 环境要求(windows下)
- Windows 7 or newer, 64-bit OS.
- Visual Studio VS2017 15.3.2+ installed in the default location.
- Windows 10.0.15063.468 SDK installed in the default location. You must install this exact SDK version to avoid build issues.
- At least 8GB of RAM and 40GB of free disk space.
- Approximately 2 hours with a fast internet connection (25Mbps) and fast build machine (2.6Ghz+, 4+ logical cores).
Branch Date | Release Branch | Chromium Version | Windows Build Requirements |
---|---|---|---|
Oct 2017 | 3239 | 63 | Win 7+, VS2017 15.3.2+, Win10.0.15063.468 SDK, Ninja |
Sep 2017 | 3202 | 62 | Win 7+, VS2015u3, Win10.0.14393 SDK,Ninja |
我编译用的是主线版本(公司电脑win7安装VS2017无法安装成功) Windows10 + VS2017 15.4 + Windows 10.0.15063.0 SDK + 8g RAM + 120G 空余磁盘, 结果是磁盘剩余24g
注意事项: VS和Win10 SDK最好安装在默认位置, 否则需要修改编译的一些参数
二. 下载和编译
- . 建立相应目录
d:\code\automate
d:\code\chromium_git
d:\code\depot_tools - 下载需要用的工具 depot_tools.zip (解压到depot_tools)
- 下载 automate-git.py 到automate目录
- 更新 depot_tools, 将下载 Python, Git
cd d:\code\depot