需要在debian arm 下编译libcef 让qt4 使用,制作一个cef浏览器,qt5有自带的就方便了,由于各种原因必须qt4 首先进行的使用免费翻墙 那速度200kb 要下载谷歌源码 12G 的 东西 得需要多少天那,无奈之下使用付费vpn 速度还是可以的,首先查询各种资料都以失败告终

看到网上以为网友耗时10天钻研出来在 windows下编译 这毅力还是很佩服的,我也准备好了打长期站的 准备,在arm下编译国内还是寥寥无几,还不知道运行效果怎么样,写这边文章的时候已经耗时4天了

我使用了两天电脑不停的测试 白天在公司电脑测试,晚上在家里虚拟机测试

环境 64 位 Ubuntu14.04

mkdir cef
cd cef
sudo apt-get install curl libgtkglext1-dev
curl 'https://chromium.googlesource.com/chromium/src/+/master/build/install-build-deps.sh?format=TEXT' | base64 -d > install-build-deps.sh
chmod 755 install-build-deps.sh
sudo ./install-build-deps.sh --no-chromeos-fonts
wget https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

修改 automate-git.py

       "u'deps_file': u'" + deps_file + "', "+\"u'safesync_url': u''"+\"}]"
+  if options.armbuild:
+    gclient_spec += " ; target_cpu = [u'arm']"msg('Writing file: %s' % gclient_file)if not options.dryrun
  check_pattern_matches(output_file=out_file)##
+# Make sure sysroots are downloaded and such.
+##
+run("gclient run_hooks", chromium_dir, depot_tools_dir)
+
+### Build CEF.##
export PATH=$HOME/cef/depot_tools:$PATH
export GYP_DEFINES=target_arch=arm
export GN_DEFINES="is_official_build=true use_sysroot=true use_allocator=none symbol_level=1 arm_float_abi=hard"
python automate-git.py --download-dir=/home/zw/path/to/chromium_git --depot-tools-dir=/home/zw/path/to/depot_tools --branch=3497 --arm-build --build-target=cefsimple

中途遇到此提示

NOTE: Not generating arm configuration due to missing sysroot directory

执行

chromium_git/chromium/src$ ./build/linux/sysroot_scripts/install-sysroot.py --arch=arm

如果不生成 删除cef 重新执行

python automate-git.py --download-dir=/home/zw/path/to/chromium_git --depot-tools-dir=/home/zw/path/to/depot_tools --branch=3497 --arm-build --build-target=cefsimple

最终生成

chromium/src/cef/binary_distrib/cef_binary_3.3497.1818.g17f0192_linuxarm

新版本有价值参考文献

https://www.cnblogs.com/caibirdy1985/p/7244961.html

http://magpcss.org/ceforum/viewtopic.php?f=6&t=15907&start=0

https://bitbucket.org/chromiumembedded/cef/wiki/BuildingOnDebian7.md

https://bitbucket.org/chromiumembedded/cef/issues/1990/linux-add-arm-build-support

由于chromiu升级很多文档过老前期接触被带懵的文献

https://stackoverrun.com/cn/q/8492326

https://blog.csdn.net/yu5151692/article/details/50241981

我需要的arm libcef.so 呢 ?等编译几个小时之后看结果

先上个编译了半个小时的图 ,估计要编译到明天早上了

libcef arm 编译相关推荐

  1. ARM 编译工具链详解

    ARM 编译工具链详解 GNU Arm Embedded Toolchain 是用于 C/C++ 和汇编编程的即用型开源工具套件.GNU Arm 嵌入式开发工具链适用于 32 位 Arm Cortex ...

  2. MDK编译过程及ARM编译工具链

    欢迎加入[Linux C/C++/Python社区]一起探讨和分享Linux C/C++/Python/Shell编程.机器人技术.机器学习.机器视觉.嵌入式AI相关领域的知识和技术. MDK编译过程 ...

  3. linux arm 无法执行二进制文件,qemu-arm无法运行arm编译的二进制文件

    我使用qemu,qemu-user和安装的gnueabi工具链运行Linux Mint 14.我用arm-linux-gnueabi-gcc test.c -o test编译了test.c.qemu- ...

  4. ARM编译中的RO、RW和ZI DATA区段

    ARM编译中的RO.RW和ZI DATA区段 ARM编译中的RO.RW和ZI DATA区段 ARM程序(指在ARM系统中正在执行的程序,而非保存在ROM中的bin文件)的组成 一个ARM程序包含3部分 ...

  5. 在x86和arm编译libmodbus

    编译libmodbus 下载路径 1.编译准备 sudo apt-get install libtool ./autogen.sh2.arm编译 ./autogen.sh mkdir install ...

  6. dlib linux 编译使用,ubuntu/ARM编译使用Dlib、OpenCV

    参考文章: ubuntu安装Dlib(C++与Python) https://blog.csdn.net/sinat_38354963/article/details/90517321 ubuntu编 ...

  7. 中标麒麟arm编译nginx使用

    nginx 中标麒麟arm编译过程 解压所有的依赖软件包,以及 Nginx 的源码包,所有源码包都位于同级目录下: 下载并解压依赖软件包 $ wget https://buildpack.oss-cn ...

  8. glib 2.0 arm linux,为ARM编译Glib

    一些有用的参考: http://gtk-doc-cn.googlecode.com/svn/docs/glib/glib-cross-compiling.html http://blog.sina.c ...

  9. arm编译安装php启动,在 ARM 设备上手工编译 LNMP 编译到心态爆炸

    昨晚把我的华为畅享 8 Root 了,装了个 Linux Deploy,跑 CentOS 7 因为 CPU 比较辣鸡,就打算拿来建个小站玩玩 一开始打算用 OneinStack,结果发现不支持 ARM ...

最新文章

  1. 我共享的资源,有四个上了首页的排行榜。
  2. Hadoop安全实践
  3. 关于iReport-5.6.0之前版本 “无法启动”或者“一开就关闭”的 某些原因
  4. 如果再不要求进步,那么你就是下一个陨落的巨头
  5. 系统10网络找不到别人的计算机,分享Win10在局域网中找不到其他电脑的解决步骤...
  6. Url几个常用的函数
  7. dubbo负载均衡代码分析2(一致性hash策略)
  8. USB:收录比较好的USB协议讲解
  9. 小程序 云函数 python_小程序云函数
  10. 【翻译】Motion Blur for mobile devices in Unity
  11. 浅谈HTTP接口性能测试脚本的编写
  12. 太阳时角、太阳高度角、天顶角、太阳方位角和剖面角计算的Python程序
  13. R语言 指定列缺失值定值填充
  14. Mip-NeRF学习
  15. Jmeter:图形界面压力测试工具
  16. Smoothness 平滑度 Standard Shader系列9
  17. html日期控件默认设置为当天日期
  18. 前端系列——与众不同的移动端底部固定栏 fixed、absolute 兼容 iOS 和 Android 方案
  19. 家庭成员介绍html模板,幼儿园介绍家庭成员教案
  20. php上传常见文件类型和$_FILES[file][type]

热门文章

  1. html纵向表头,HTML table固定表头
  2. JAVA多线程技术-线程的生命周期
  3. 经典网络模型ResNet(残差网络)
  4. 微波遥感(三、SAR图像特征)
  5. leetcode21---合并两个有序链表
  6. 肺结节目标检测_四招识别肺结节的良恶性
  7. 软件AutoID Network Navigator设置基恩士扫码枪的使用教程
  8. 【xshell7免费下载安装】
  9. [ 云计算 华为云 ] 华为云开天 aPaaS:构建高效的企业数字化平台(下)
  10. 7-2 平面向量加法