编译cef 2526
fetch --nohooks chromium
cd /path/to/chromium/src
# git checkout -b 51.0.2704.103 refs/tags/51.0.2704.103
# gclient sync --nohooks --with_branch_heads --jobs 16
# git clone https://bitbucket.org/chromiumembedded/cef.git
# third_party/WebKit/LayoutTests/mhtml/transfer_encoding_8bit.mht
#Please, commit your changes or stash them before you can switch branches.
#Aborting
#E:\srccode\chromium\src>git reset --hard
#E:\srccode\chromium\src>git pull
cd /path/to/chromium/src
gclient sync --nohooks --with_branch_heads
git fetch
git fetch --tags
git checkout refs/tags/47.0.2526.80 -----current select
or
git checkout -b 47.0.2526.80 refs/tags/47.0.2526.80
gclient sync --jobs 16
or
gclient sync --nohooks --with_branch_heads --jobs 16 -----current select
git clone https://bitbucket.org/chromiumembedded/cef.git
cd cef
git checkout -t origin/2526
modify the cef.gyp
cd /path/to/chromium/src
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_GENERATORS=ninja
set GYP_MSVS_VERSION=2013
gclient runhooks
cd cef
execute the create.bat
cd /path/to/chromium/src
ninja -C out/Release cefclient
ninja -C out/Debug cefclient
cd /path/to/chromium/src/cef/tools
make_distrib.bat --ninja-build
FAILED: obj/ui/gl/gl.gl_bindings_skia_in_process.obj
ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Stu
dio 12.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\ui\gl\gl.gl_bin
dings_skia_in_process.obj.rsp /c ..\..\ui\gl\gl_bindings_skia_in_process.cc /Foo
bj\ui\gl\gl.gl_bindings_skia_in_process.obj /Fdobj\ui\gl\gl.cc.pdb
e:\code\chromium\src\ui\gl\gl_bindings_skia_in_process.cc(891) : error C2679: bi
nary '=' : no operator found which takes a right-hand operand of type 'overloade
d-function' (or there is no acceptable conversion)
e:\code\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(116
): could be 'GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc> &GrGLInterface
::GLPtr<GrGLFlushMappedBufferRangeProc>::operator =(const GrGLInterface::GLPtr<G
rGLFlushMappedBufferRangeProc> &)'
e:\code\chromium\src\third_party\skia\include\gpu\gl\grglinterface.h(112
): or 'GrGLInterface::GLPtr<GrGLFlushMappedBufferRangeProc> GrGLInterface:
:GLPtr<GrGLFlushMappedBufferRangeProc>::operator =(FNPTR_TYPE)'
with
[
FNPTR_TYPE=GrGLFlushMappedBufferRangeProc
]
while trying to match the argument list '(GrGLInterface::GLPtr<GrGLFlush
MappedBufferRangeProc>, overloaded-function)'
chromium\src\ui\gl\gl_bindings_skia_in_process.cc文件,把提示有错误的函数参数类型前面都加上Gr,
如原来为 GLenum的,改成GrGLenum,GLintptr 改为GrGLintptr等等,如为void*的,改成GrGLvoid.
FAILED: obj/ui/gl/gl.egl_util.obj
ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Stu
dio 12.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\ui\gl\gl.egl_ut
il.obj.rsp /c ..\..\ui\gl\egl_util.cc /Foobj\ui\gl\gl.egl_util.obj /Fdobj\ui\gl\
gl.cc.pdb
e:\code\chromium\src\third_party\swiftshader\include\egl\eglext.h(119) : error C
4430: missing type specifier - int assumed. Note: C++ does not support default-i
nt
e:\code\chromium\src\third_party\swiftshader\include\egl\eglext.h(119) : error C
2143: syntax error : missing ',' before '*'
e:\code\chromium\src\third_party\swiftshader\include\egl\eglext.h(120) : error C
2061: syntax error : identifier 'EGLAttrib'
e:\code\chromium\src\third_party\swiftshader\include\egl\eglext.h(515) : error C
2061: syntax error : identifier 'EGLAttrib'
chromium\src\third_party\swiftshader\include\egl\eglext.h,
在62行typedef intptr_t EGLAttribKHR;
后加追加typedef intptr_t EGLAttrib;
cd /path/to/chromium/src/cef/tools
make_distrib.bat --ninja-build
编译cef 2526的更多相关文章
- 使用Cmake编译CEF时遇到Error in configuration process,project file may be invalid的解决办法
今天在用Cmake编译cef框架时,弹出了错误,如图: 可以排查一下几种原因: 1.在64位计算机编译32位程序 可以更换编译环境,或者下载64位版本来解决这个问题. 2.选择的Visual Stud ...
- window 下编译cef 内核 加入mp3/mp4 支持
下载 depot_tools 解压,加入到环境变量 进入cmd(管理员)运行 gclient 获取 python和git,svn,设置python环境变量 创建新文件夹 mkdir chromium ...
- windows平台编译CEF支持H264(MP3、MP4)超详细
编译目标(如何确定目标定版本请查看:BranchesAndBuilding) CEF Branch:4664 CEF Commit:fe551e4 Chromium Version:96.0.4664 ...
- Visual Studio 2013 编译CEF步骤
If you'd like to build the Chromium Embedded Framework (a wrapper for Chromium, for creating browser ...
- CEF中文教程(google chrome浏览器控件) -- Windows下编译Chromium
CEF中文教程(google chrome浏览器控件) -- CEF简介 2013-04-10 16:48 42928人阅读 评论(4) 收藏 举报 分类: CEF(2) 目录(?)[+] ...
- CEF避坑指南(一)——下载并编译第一个示例
CEF即Chromium Embedded Framework,Chrome浏览器嵌入式框架.它提供了接口供程序员们把Chrome放到自己的程序中.许多大型公司,如网易.腾讯都开始使用CEF进行前端开 ...
- cef chromium 编译
前言 目前客户端引用了cef sharp库来嵌入web页面 cef sharp是对cef (chromium embed framework)的c#封装 cef是对chromium内核的c++封装 什 ...
- CEF编译遇到的问题记录
在使用vs2015编译cef官方代码的时候遇到很奇怪的问题, 我用官方的demo cefsimple例子程序编译debug版本 可以正常编译打开网页 正常的打开 我把官方的例子单独创建一个新的项目编译 ...
- CEF避坑指南(一)——编译并自制浏览器
CEF即Chromium Embedded Framework,Chrome浏览器嵌入式框架.我们可以从自制浏览器入手,深入学习它.它提供了接口供程序员们把Chrome放到自己的程序中.许多大型公司, ...
随机推荐
- [POI2007]驾驶考试egz
题目 BZOJ 神仙题,可比那些氵紫题有意思多了 做法 \(i\)能作为起始点,当\(i\)能到达\(1\)~\(i-1\)和\(i+1\)~\(n\) 这样处理显然会麻烦,因为要从每个点都特判一次 ...
- volatile笔记
总结自:https://www.cnblogs.com/dolphin0520/p/3920373.html 了解volatile之前得明白什么是原子性.可见性.有序性及指令重排序,详见:https: ...
- PHP中的常见魔术方法功能作用及用法实例
概述 在面向对象编程中,PHP提供了一系列的魔术方法,这些魔术方法为编程提供了很多便利.PHP中的魔术方法通常以__(两个下划线)开始,并且不需要显示的调用而是由某种特定的条件出发. 开始之前 在总结 ...
- CentOS 7 导入epel库
yum install epel-release 或者到百度云下载相应的 rpm 包进行安装 rpm -ivh epel-release-7-9.noarch.rpm
- centos中如何寻找Nginx,Apache,PHP,mysql的配置路径
很多小伙伴都可能会碰到安装好环境之后忘记了或者不知道怎么查看配置环境的文件路径了, 下面我就来介绍centos中nginx.apache.php.mysql配置文件路径查看方法吧. 1.判断apach ...
- springmvc拦截器基本使用
1.HandlerExecutionChain是一个执行链,当用户的请求到达DispatcherServlet的时候,DispatcherServlet会到HandlerMapping中查找对应的Ha ...
- 论4.1loli模拟赛
论如何合理的挂.... T1: 后缀数组+找规律...没了,别的就没什么了.... T2: 树链剖分+lca....没了, 别的没什么了..... T3: 平衡树可过..然后数据有两组错的... 实际 ...
- 调整JVM堆内存解决OutOfMemoryError
今天在用 processing(http://zh.wikipedia.org/wiki/Processing) 编写处理 midi 文件的程序的时候,遇到了一个问题.程序主要是读取分析 midi , ...
- tomcat配置 启动
<Context docBase="E:\apache-tomcat-7.0.50\wtpwebapps\mycms" path="" reloadab ...
- Node的异步I/O
node是单线程非阻塞异步I/O的模式. 阻塞I/O:完成整个数据获取的过程: 非阻塞I/O:不带数据,直接立即返回,要获取数据,还需通过文件描述符再次读取. node完成整个异步I/O的有事件循环. ...