博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
编译cef 2526
阅读量:4931 次
发布时间:2019-06-11

本文共 3606 字,大约阅读时间需要 12 分钟。

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

转载于:https://www.cnblogs.com/zxpo/p/6758175.html

你可能感兴趣的文章
Linux 入门 bash语句 第三课
查看>>
LeetCode 27. 移除元素
查看>>
【原创】phpcms v9 0day
查看>>
杂谈SharpDx中的WIC组件——我们需要WIC的图片编码功能么?
查看>>
移动端弹性盒
查看>>
觉得比较重要的一张触发器的图,高手跳过哈!
查看>>
JAVA中使用jcifs集成AD域用户认证
查看>>
SSH框架 jar包版本的选择
查看>>
1699. Turning Turtles
查看>>
1048. Find Coins (25)
查看>>
(八十六)使用系统自带的分享框架Social.framework
查看>>
C# 使用IP端口网络打印图片
查看>>
OSI与TCP/IP你了解多少?
查看>>
压缩解压缩相关基础知识
查看>>
javaweb之MVC设计模式
查看>>
[APIO2015]巴厘岛的雕塑
查看>>
使用Code First模式开发如何更新数据库(转载)
查看>>
Mybatis实例增删改查(二)
查看>>
android:inputType参数类型说明
查看>>
使用泛型迭代Map集合
查看>>