• cef-3.2623 build on vs2013


    1. 参文“在Windows下编译Cef3.2623并加入mp3、mp4支持(附带源码包和最终DLL)”下载包 http://blog.csdn.net/zhuhongshu/article/details/54193842 2. 创建build.bat e:cef source automate-git.py build.bat 如下: set CEF_USE_GN=0 set DEPOT_TOOLS_WIN_TOOLCHAIN=0 set GYP_DEFINES=component=shared_library set GYP_GENERATORS=msvs-ninja,ninja set GYP_MSVS_VERSION=2013 set GYP_MSVS_OVERRIDE_PATH=c:Program Files (x86)Microsoft Visual Studio 12.0 python automate-git.py --download-dir=e:cefsource --branch=2623 --no-update --no-debug-build --build-log-file --verbose-build --force-distrib --force-build 3. 构建 cd e:cef ./build.bat 4. 报错 Generating CEF project files... ________ running 'e:cefsourcedepot_toolspython276_binpython.exe ../build/gyp_chromium cef.gyp -I cef.gypi' in 'e:cefsourcechromiumsrccef' Enabled Psyco JIT. Updating projects from gyp files... Traceback (most recent call last): File "../build/gyp_chromium", line 12, in execfile(__file__ + '.py') File "../build/gyp_chromium.py", line 336, in sys.exit(main()) File "../build/gyp_chromium.py", line 323, in main gyp_rc = gyp.main(args) File "e:cefsourcechromiumsrc oolsgyppylibgyp\__init__.py", line 538, in main return gyp_main(args) File "e:cefsourcechromiumsrc oolsgyppylibgyp\__init__.py", line 523, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "e:cefsourcechromiumsrc oolsgyppylibgypgenerator inja.py", line 2421, in GenerateOutput pool.map(CallGenerateOutputForConfig, arglists) File "e:cefsourcedepot_toolspython276_binlibmultiprocessingpool.py", line 250, in map return self.map_async(func, iterable, chunksize).get() File "e:cefsourcedepot_toolspython276_binlibmultiprocessingpool.py", line 554, in get raise self._value Exception: "['C:\Program Files (x86)\Windows Kits\8.1\Bin\SetEnv.Cmd', '/x86', '&&', 'set']" failed with error 1 Traceback (most recent call last): File "toolsgclient_hook.py", line 106, in RunAction(cef_dir, gyper) File "e:cefsourcechromiumsrccef oolsgclient_util.py", line 39, in RunAction command, cwd=dir, always=True) File "e:cefsourcedepot_toolsgclient_utils.py", line 292, in CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs) File "e:cefsourcedepot_toolsgclient_utils.py", line 538, in CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None) subprocess2.CalledProcessError: Command 'e:\cef\source\depot_tools\python276_bin\python.exe ../build/gyp_chromium cef.gyp -I cef.gypi' returned non-zero exit status 1 in e:ce fsourcechromiumsrccef Traceback (most recent call last): File "automate-git.py", line 942, in run(path, cef_src_dir, depot_tools_dir) File "automate-git.py", line 55, in run shell=(sys.platform == 'win32')) File "e:cefsourcedepot_toolspython276_binlibsubprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['e:\cef\source\chromium\src\cef\cef_create_projects.bat']' returned non-zero exit status 1 原因:可能是从 "VS2013 开发人员命令”进入引起 解法: type cmd.exe to start a DOS prompt
  • 相关阅读:
    五分钟搞懂Vuex
    vue 背景图片 backgroundImage background-image vue的style方式绑定行内样式-background-image的方式等~
    VUE2.0 vue-cli构建项目中使用Less
    ES6如何引入图片
    Vue+Gojs实现流程图demo
    vue自定义指令要点
    vue cli中token验证
    linux服务器上配置多个svn仓库
    vue-cli(vue脚手架)超详细教程
    node学习第一天:nvm使用
  • 原文地址:https://www.cnblogs.com/mull/p/9388121.html
Copyright © 2020-2023  润新知