Chromium源代码编译

Chromium source code compiling

我正在尝试编译 Amazon Linux AMI 版本 2014.09 的铬源代码。我收到以下错误。

../../chromium/src/third_party/protobuf/src/google/protobuf/generated_message_util.h:41:10: fatal error: 'string' file not found
#include <string>

Chromium 要求部分说:

You should be able to build Chromium on any reasonably modern Linux distribution, but there are a lot of distributions and we sometimes break things on one or another. Internally, our development platform has been a variant of Ubuntu 14.04 (Trusty Tahr); we expect you will have the most luck on this platform, although directions for other popular platforms are included below.

我没能顺利地在 OpenSuSE 上编译 Chromium,但在你的情况下,它在 Ubuntu 上对我来说运行良好。