BUILD ERROR:cannot open include file 'windows.h'

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

BUILD ERROR:cannot open include file 'windows.h'

Postby oldcaptain » Tue Sep 06, 2016 9:11 pm

vs2015 version 14.0.25123.00 update 2
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.
oldcaptain
Newbie
 
Posts: 5
Joined: Tue Sep 06, 2016 4:34 am

Re: BUILD ERROR:cannot open include file 'windows.h'

Postby magreenblatt » Wed Sep 07, 2016 1:41 pm

Building 2704 branch requires the Windows 10.0.10586 SDK and is no longer supported. See https://bitbucket.org/chromiumembedded/ ... uilding.md.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 95 guests