编译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放到自己的程序中.许多大型公司, ...
随机推荐
- 主攻ASP.NET MVC4.0之重生:Jquery Mobile 按钮+对话框使用
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...
- Go HelloWorld 网络版和并发版
网络版 package main import ( "net/http" "fmt" ) func main() { http.HandleFunc(" ...
- iOS如何获取蓝牙Mac地址
http://macpu.github.io/2015/11/12/iOS%E5%A6%82%E4%BD%95%E8%8E%B7%E5%8F%96%E8%93%9D%E7%89%99Mac%E5%9C ...
- poj 1961 Period 【KMP-next前缀数组的应用】
题目地址:http://poj.org/problem?id=1961 Sample Input 3 aaa 12 aabaabaabaab 0 Sample Output Test case #1 ...
- setfacl设置特定目录的权限
现有一目录是虚拟机和linux共享的,但是每次程序调用新建的文件都发现没有权限. 于是指定特定目录及其子目录下新建的文件或目录对于用户qhfz都有读写执行的权限 -R表示递归 -m表示设置文件acl规 ...
- RHCE学习笔记 管理1 (第一、二章)
第一章 命令行访问 1.Ctrl+alt+F2~F6 切到虚拟控制台,ctrl+alt+F1 回到图形界面 2.格式 : 命令 选项 参数 [] 为可选项目 ...表示该项目任意 ...
- wareshark网络协议分析之DHCP
声明:本文关于DHCP协议介绍部分摘自百度百科 一.DHCP协议介绍: DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)是一个局域网的网络协议,使用 ...
- Qt QThread 线程创建,线程同步,线程通信 实例
1. 继承QThread, 实现run()方法, 即可创建线程. 2. 实例1 代码 myThread.h #ifndef MYTHREAD_H #define MYTHREAD_H #includ ...
- Vue 什么是组件
Vue.js组件 组件的作用:组件是自定义元素,可扩展html元素,封装可复用的代码. 组件的注册一定要在初始化根实例之前,负责组件是不起作用的. 全局组件在初始化实例的时候被使用 局部组件仅在实例/ ...
- Vue v-if条件渲染
1.简单的v-if指令,代码如下 <!DOCTYPE html> <html> <head lang="en"> <meta charse ...