libcef編譯錯誤Resource id not set for
阿新 • • 發佈:2018-12-20
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
費了好長時間解決了,解決方案如下
修改後的檔案下載