compile error rebuild precompiled header

429 views
Skip to first unread message

权权权

unread,
Apr 9, 2018, 10:37:31 AM4/9/18
to Chromium-dev
I am update macOS to 10.13.4..when compile Chromium. I have this problem.

fatal error: file '/Users/danxiao2/Documents/chromium/chromium/src/out/Lovense/../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/assert.h' has been modified since the precompiled header 'obj/chrome/common/common/precompile.h-cc.gch' was built

note: please rebuild precompiled header 'obj/chrome/common/common/precompile.h-cc.gch'

1 error generated.

[133/209] CXX obj/third_party/WebKit/Source/core/loader/loader/WorkerThreadableLoader.o

ninja: build stopped: subcommand failed.



I have no idea about it .because assert.h not change at all.

is there anyone have the same problem...or give me a thinking way...

I'm Chinese develop..English just so so. sorry.

Sylvain Defresne

unread,
Apr 9, 2018, 10:59:50 AM4/9/18
to chqchq3...@gmail.com, Chromium-dev
The timestamp of the system header file shipped with Xcode may have been changed by the upgrade process. You can try to rebuild from scratch if this is an option for you (run "gn clean out/Lovesense"). Do mind that this will cause a full rebuild, so this is time consuming.
-- Sylvain

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b69b28c0-ac9e-4e82-988c-9d9ff9ff6bee%40chromium.org.
Reply all
Reply to author
Forward
0 new messages