Building CEF 81 (branch 4044, #e07275d) with media codecs enabled on Windows. My local build using Windows 10/64 completes as expected and produces a valid build that I can use in my application.
However, I also need to make this work inside our automated build system (TeamCity) which uses Windows Server 2012 r2.
I installed the Windows 10 SDK 10.0.18362.0 on both systems and both also have a fully up to date VS 2017 Professional install.
The error (as per, at least 2 other posts here) is:
- Code: Select all
ERROR at //build/toolchain/win/BUILD.gn:49:3: Script returned non-zero exit code.
exec_script("../../vs_toolchain.py",
^----------
Current dir: D:/cef/4044_64/chromium_git/chromium/src/out/Release_GN_x86/
Command: D:/cef/4044_64/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe D:/cef/4044_64/chromium_git/chromium/src/build/vs_toolchain.py copy_dlls D:/cef/4044_64/chromium_git/chromium/src/out/Release_GN_x86 Release x86
Returned 1 and printed out:
Copying C:\Windows\SysWOW64\msvcp140.dll to D:/cef/4044_64/chromium_git/chromium/src/out/Release_GN_x86\msvcp140.dll...
Copying C:\Windows\SysWOW64\vccorlib140.dll to D:/cef/4044_64/chromium_git/chromium/src/out/Release_GN_x86\vccorlib140.dll...
Copying C:\Windows\SysWOW64\vcruntime140.dll to D:/cef/4044_64/chromium_git/chromium/src/out/Release_GN_x86\vcruntime140.dll...
Those 3 Windows DLLs exist on the TeamCity instance - I think those are the ones that have been copied successfully vs the first one that failed to copy and I can't determine which files are in the list.
I'm going to have to dig a lot deeper but I figured it was worth a quick post here in case someone had already worked around it.
For what it's worth, I was able to get a valid build of CEF 76 some months ago on the same system (older Win 10 SDK as per the wiki docs) so I believe it's possible to do so in this version of Windows.