VS2017编译libcef2623,出现了一个错误
ninja: Entering directory `out\Release'
[1/8137] ACTION Generating resources f.../browser/tracing/tracing_resources.grd
FAILED: gen/content/browser/tracing/grit/tracing_resources.h gen/content/browser
/tracing/tracing_resources.pak
D:\cef2623\depot_tools\win_tools-2_7_6_bin\python\bin\python.exe gyp-win-tool ac
tion-wrapper environment.x86 tracing_resources_target_tracing_resources_ab3f4e70
1df1866e84aa9f27f0b002f1..rsp ..\..\content\browser\tracing
------------------------------------------------------------------------------
Resource id not set for out/Release/gen/content/browser/tracing/tracing_resource
s.grd (includes)!
Please update ..\..\..\tools\gritsettings\resource_ids to include an entry for o
ut/Release/gen/content/browser/tracing/tracing_resources.grd. See the comments
in resource_ids for information on why you need to update that file.
搜索了谷歌,百度都没有找到解决方案。
定义到了D:\cef2623\chromium\src\tools\grit\grit\node\misc.py
费了好长时间解决了,解决方案如下
修改后的文件下载
https://download.csdn.net/download/hizhanyue/10772933