Hello there,
I'm trying to setup build environment for building cobalt for android.
In the lasts steps building crashpad handler the compiler fails with these and more:
_______
[1/261] CXX x86/obj/third_party/protobuf/protoc_lib/csharp_doc_comment.o
FAILED: x86/obj/third_party/protobuf/protoc_lib/csharp_doc_comment.o
ccache "../../../starboard-toolchains/x86_64-linux-gnu-clang-chromium-16-init-17653-g39da55e8-2/bin/clang++" -MMD -MF x86/obj/third_party/protobuf/protoc_lib/csharp_doc_comment.o.d -DUSE_COBALT_CUSTOMIZATIONS -DSTARBOARD_BUILD_TYPE_QA -DCOBALT_BUILD_TYPE_QA -DNDEBUG -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -I../.. -Ix86/gen -I../../third_party/protobuf/src -m32 -Werror -Wall -Wno-unused-variable -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Wno-unused-function -O2 -Wno-unused-function -Wno-enum-compare-switch -Wno-enum-compare -Wno-unknown-warning-option -fno-exceptions -std=gnu++14 -fno-rtti -c ../../third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc -o x86/obj/third_party/protobuf/protoc_lib/csharp_doc_comment.o
In file included from ../../third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc:34:
In file included from ../../third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_doc_comment.h:35:
../../third_party/protobuf/src/google/protobuf/io/printer.h:40:10: fatal error: 'string' file not found
#include <string>
^~~~~~~~
1 error generated.
___________
I've used a ubuntu:20.04 docker container and took all the requirements steps mentioned in the tutorial. Any idea what I missed?
Kind regards
Philipp