zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    rsyslog imfile 模块说明
    正确的健身是啥意思——北漂18年(79)
    CC++ 内存对齐
    异步请求和超时控制
    dubbo入门(1)
    Query Cache Configuration
    perl 批量生成分区表
    perl 通过生成mysql 批量sql
    next 跳过当前循环
    last 退出当前循环
  • 原文地址:https://www.cnblogs.com/mull/p/9388121.html
Copyright © 2011-2022 走看看