windows 10 pro x64 10.0.14393
windows sdk installed,and "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include" has been added in PATH.
branch 2704
update.bat
set CEF_USE_GN=0
set GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2015
python ..\automate\automate-git.py --download-dir=D:\cef_build\code\chromium_git --depot-tools-dir=D:\cef_build\code\depot_tools --no-distrib --no-build --branch=2704
create.bat
set CEF_USE_GN=0
set GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome
set GYP_GENERATORS=ninja,msvs-ninja
set GYP_MSVS_VERSION=2015
call cef_create_projects.bat
Build failed,any ideas?
- Code: Select all
FAILED: libcef.dll libcef.dll.lib libcef.dll.pdb
D:\cef_build\code\depot_tools\python276_bin\python.exe gyp-win-tool link-with-manifests environment.x86 True libcef.dll "D:\cef_build\code\depot_tools\python276_bin\python.exe gyp-win-tool link-wrapper environment.x86 False link.exe /nologo /IMPLIB:libcef.dll.lib /DLL /OUT:libcef.dll @libcef.dll.rsp" 2 mt.exe rc.exe "obj\cef\libcef.libcef.dll.intermediate.manifest" obj\cef\libcef.libcef.dll.generated.manifest ..\..\cef\libcef_dll\libcef.dll.manifest
libcef.dll.manifest.rc(1) : fatal error RC1015: cannot open include file 'windows.h'.
Traceback (most recent call last):
File "gyp-win-tool", line 315, in <module>
sys.exit(main(sys.argv[1:]))
File "gyp-win-tool", line 29, in main
exit_code = executor.Dispatch(args)
File "gyp-win-tool", line 71, in Dispatch
return getattr(self, method)(*args[1:])
File "gyp-win-tool", line 169, in ExecLinkWithManifests
'%(out)s.manifest.rc' % variables)
File "D:\cef_build\code\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'D:\cef_build\code\depot_tools\python276_bin\python.exe gyp-win-tool rc-wrapper environment.x86 rc.exe libcef.dll.manifest.rc' returned non-zero exit status 1
ninja: build stopped: subcommand failed.