Reputation: 2606
After running command
ninja -C out\Default chrome
Got and errors:
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.
Any idea how to fix?
Upvotes: 1
Views: 1822
Reputation: 3361
You can use GN
to clean the build folder too:
gn clean out\Default
Then rebuild again:
ninja -C out\Default chrome
Upvotes: 0
Reputation: 66
I had the same issue, due to an upset of semi-installs. I solved it by doing a full clean of the build (and learning to use some ninja in the process).
Run the following
ninja -C out/Default -t clean
and then rerun
ninja -C out/Default Chrome
Mine worked after this.
Upvotes: 5