I follow the build instructions https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md#markdown-header-windows-setup
but fail to link.
OS: Windows Server 2008 R2 Enterprise + SP1
Compiler: VC2015 Enterprise + SP3
update.bat
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=d:\code\chromium_git --depot-tools-dir=C:\src\depot_tools --branch=2924 --no-distrib --no-build
create.bat
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
call cef_create_projects.bat
failed error details
- Code: Select all
[26637/26641] LINK(DLL) libcef.dll libcef.dll.lib libcef.dll.pdb
FAILED: libcef.dll libcef.dll.lib libcef.dll.pdb
C:/src/depot_tools/python276_bin/python.exe ../../build/toolchain/win/tool_wrapp
er.py link-wrapper environment.x86 False link.exe /nologo /IMPLIB:./libcef.dll.l
ib /DLL /OUT:./libcef.dll /PDB:./libcef.dll.pdb @./libcef.dll.rsp
layout_2.lib(LayoutTreeAsText.obj) : fatal error LNK1318: Unexpected PDB error;
OK (0) ''
ninja: build stopped: subcommand failed.
on the same machine, I succeeded in building version 2623 with GYP, and I have tried to clear out dir and rebuild but still fail.
who encountered the issue?
thanks.