2017-03-09 41 views
1

運行命令鉻重建錯誤

ninja -C out\Default chrome 

GOT和錯誤後:

c:\src\chromium\src\base\strings\pattern.cc: 
     fatal error C1853: 'obj/base/base_cc.pch' header file is from a previous of the compiler, the precompiled header is C++ and you are using it from C (or vice versa) 
      [11/1486] CXX obj/cc/paint/paint/precompile.cc.obj 
      ninja: build stopped: subcommand failed. 

任何想法如何解決?

回答

2

由於半安裝問題,我有同樣的問題。我通過徹底清理版本來解決它(並學習在這個過程中使用一些忍者)。

運行以下

ninja -C out/Default -t clean 

,然後重新運行

ninja -C out/Default Chrome 

礦難發生後這個工作。

+0

也許你知道如何解決https://groups.google.com/a/chromium.org/forum/#!msg/chromium-dev/jnofouwbn0k/9lD-x-6LAgAJ這一個? – comalex3