WebKit 内核编译

win7 64位编译WebKit内核 该过程主要参照Moon出品的Win7+VS2010编译WebKit总结(http://blog.csdn.net/wxdvc/article/details/8508077),表示感谢。 顺带留个qq:345271592,欢迎交流。 1.安装VS2010,最好是英文版,并使用默认路径安装(没敢换,怕出错。。。坑爹) 2.安装SP1:Visual Studio 2010 SP1 阅读详情

WebKit内核编译实在是一项折磨人的事情,虽然webkit.org官方有一个文档,但是有时候机器本身配置环境还是和教程有差别。

经过三天三夜平均每天2点钟的奋斗,今天终于搞定了。


其实,官方的描述已经非常到位,只要保证每一步都执行了,差别应该不大,需要多加处理的就是本机实际环境导致的具体问题。


首先按照官方文档进行操作

http://www.webkit.org/building/tools.html

一、安装Visual 2005

  1. If you own Visual Studio 2005 (newer versions of Visual Studio are currently unsupported):

    Install Microsoft Visual Studio 2005 Team Suite Service Pack 1.

    If you are building from Vista, install Service Pack 1 Update for Windows Vista.

    Install Visual Studio 2005 Service Pack 1 ATL Security Update.

    Install the following hotfixes to improve Visual Studio's performance and responsiveness:

    1. KB918559
    2. KB935225
    3. KB943969
    4. KB947315

    Use the default options for these installations.

(我在装下面四个补丁的时候提示找不到升级的程序,我装的是2005 中文版,估计补丁有问题,后来没有理会了)

二、安装cygwin

  1. Install Cygwin

    Cygwin is a collection of utilities for Windows that includes not only a Subversionclient, but also additional tools that are required to build the WebKit source. Wehave made a downloader available that automatically collects all of the requiredpackages.

    Download cygwin-downloader.zip.

    Extract the content of the archive to some folder and start cygwin-downloader.exe from that folder.This will download all the Cygwin packages you need.

    When all the packages have finished downloading, the Cygwin installer will launch. ChooseInstall from Local Directory, then clickNext until theinstall is complete. If you are running Vista, the installer won't be able to launch automatically, so you will have to manually launch Cygwin's Setup.exe.

    Note: If you are behind a proxy you need to set the http_proxy environment variable to the URL of the proxy. This wouldlikely match this pattern:http[s]://[username[:password]@]somehost.com[:port]. Where the square brackets ([]) are not part of the url but enclose url elements that are optional indicating that those elements might be missing in your case together with their enclosed delimiter such as @ and :.

    Note: Vista may warn you that Cygwin did not install correctly. Ignore this warning and tell Vista that the install was successful.

    Warning: If you are running Vista or Windows 7, Cygwin may have trouble with implementingfork(the POSIX function frequently used to start child processes, needed by many of the WebKit build tools).In order to enablecygwin1.dll to implement fork successfully it is better if no DLL loaded in the parent process is relocated at runtime.One way to achive this is to rebase all cygwin dlls exceptcyglsa64.dll andcygwin1.dll to base addresses that cause them to not overlap in memory.

    In order to rebase all cygwin dlls a rebaseall script is provided in the cygwin installation'sbin directory(usuallyC:\cygwin\bin).This script must be run fromash.exe (found in the same directory) while no other cygwin application is running.
    ash.exe has very limited command line editing features so cutting and pasting to the commandline is recommended.
    The PATH environment variable may not contain the /bin directory by defaultthus the script should be launched as/bin/r

深入理解webkit内核系列第一篇:如何快速编译 最近发现询问webkit如何编译的人很多,为了方便大家写一篇关于如何在linux下面编译webkit的文章,方便大家来学习讨论。我们知道webkit是一个跨平台的浏览器能够在苹果,windows,linux等平台运行。个人对linux平台稍微熟悉些,本文主要介绍在linux平台下如何编译成功webkit。 一:环境准备 (1). 直接安装ubuntu 12.04 系统,目前ubuntu 13 阅读详情

相关推荐

webkit浏览器内核编译(2024年11月份版本)

WebKit 是一个开源的浏览器引擎,与之相对应的浏览器内核引擎有Gecko(Mozilla Firefox 等使用),Trident(也称MSHTML,IE 使用)和EdgeHTML(也称Chakra,Edge和其他UWP浏览器使用)。同时WebKit 也是苹果Mac OS X 系统浏览器的引擎框架版本的名称,主要用于Safari,Dashboard,Mail 和其他一些Mac OS X 程序。

jyl_sh的专栏 2081

Windows下编译WebKit内核:内存、路径与构建系统深度解析

浏览器内核编译是现代前端与客户端工程师理解底层运行机制的关键实践。其核心涉及构建系统原理(如CMake/Ninja演进)、跨平台抽象层设计、链接时内存管理及第三方SDK路径依赖等基础工程问题。尤其在Windows环境下,由于32位进程虚拟地址空间限制、Cygwin POSIX模拟边界、MSVC链接器行为等特性,编译过程暴露出模块依赖爆炸、路径硬编码、环境变量敏感性等典型挑战。这些并非历史遗迹,而是当前大型C++项目(如Electron定制内核、嵌入式Web引擎移植)中持续复现的共性难题。本文以经典WebKi

diaojin6880的博客 467

【NVIDIA Jetson Orin系列 - 安装NVIDIA SDK Manager】

NVIDIA Jetson Orin - 安装NVIDIA SDK Manager

dally2的博客 2704

西门子 G120 变频器报文

G120报文

mmxxoo_xxmmp的博客 8143

卷积神经网络-猫狗识别(附源码)

利用python实现一个卷积神经网络,训练猫狗数据集,实现对猫狗图片的预测识别

m0_63223213的博客 2万+

LangChain实战:Plan and Execute代理在智能预算规划中的应用

本文详细介绍了如何利用LangChain框架中的Plan and Execute代理实现智能预算规划。通过拆解复杂财务问题、调用多工具链协作,该代理能自动完成从个人月度预算到家庭年度综合预算的智能规划,并具备消费习惯学习和多目标优化等进阶功能,帮助用户实现精准财务管理和决策优化。

weixin_42530732的博客 385

离线AI实战指南:本地部署大模型处理PDF/Word/Excel

离线AI是指在无网络、不上传数据前提下,于个人设备运行大语言模型并完成文档理解、多轮对话与代码辅助等任务的技术方案。其核心依赖本地模型推理、文档解析向量化和轻量级对话调度三大能力。随着Phi-3、Qwen2、Llama3等轻量化开源模型普及,以及Ollama、LM Studio等易用工具成熟,普通用户已可在主流笔记本上实现PDF摘要、合同比对、代码注释等真实办公场景。本文聚焦离线AI的硬件适配、模型选型、文件处理链路与知识库构建,尤其强调中文OCR支持、结构化文档提取与CPU/GPU混合推理优化,助力非开发

weixin_31968639的博客 536

ESP32 Arduino 学习篇(五)TFT_eSPI库

该库有User_Setup.h和 User_Setup_Select.h两个配置文件,支持 ①自定义参数或 ②使用已有配置 驱动TFT屏幕。优点是: 1. 占用空间非常小 2. 动画清晰,充分利用每个像素点 3. 可以非常灵动. 4. 方便进行微调。首先在Libraries里面搜索安装TFT_eSPI库到你的工程文件里面。初始化屏幕, 如果是ST7735,可以往里面传一个参数, 具体用到时再看。缺点是: 1. 容易闪屏 2. 一般不会太复杂 3.需要大量的计算。特别注意: 字库7是仿7段数码屏的样式。

DOF526570的博客 2万+

【报错】raise pickle.UnpicklingError(_get_wo_message(str(e))) from None_pickle.UnpicklingError: Weigh

File "/opt/conda/envs/py_3.12/lib/python3.12/site-packages/torch/serialization.py", line 1470, in load raise pickle.UnpicklingError(_get_wo_message(str(e))) from None _pickle.UnpicklingError: Weights only load failed.

静谧、淡雅 792

uniapp(全端兼容) - 详细实现唤起手机摄像头对商品进行拍照识别功能,在uniapp全平台小程序/h5网页/安卓苹果app做商品扫描识别效果,仿京东淘宝扫描识别功能效果(提供示例代码,开箱即用)

uniapp,微信小程序,移动端h5网页,手机H5网站,安卓苹果app软件,拍照识图功能,vue前端实现商品拍照识别,uniapp详细实现调用手机摄像头拍照识别商品,uniapp拍照识图插件组件实例代码,uni-app实现京东淘宝拼多多点击拍照识图功能,uniapp怎么做电商app的拍照识别图片上的商品功能,uniapp仿淘宝拍照识图,uniapp仿京东拍照识图,调用后置摄像头拍照扫描图片上的物品,手机摄像头拍照并拖动一个区域进行识别,前端怎么做识别图片的交互效果,uniapp(全端兼容) - 详细实现唤起

✅ 精选推荐文章 4414

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

精雕软件(JDpaint) 5.5 绿色版

精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版精雕软件(JDpaint) 5.5 绿色版

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

上一篇: List of IP protocol numbers
下一篇: build ginger on 32bit of ubuntu 10.10
elfylin
博客等级 码龄16年 102粉丝 173原创
评论 6
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值