Closed tomhughes closed 10 years ago
From #63, try using clang++. On Ubuntu you can install clang by running:
sudo apt-get install clang
Then run:
make clean
CXX=clang++ make test
Works for me, using de1d54230233ae332f2dee0fe3aa5958abfadf5f, running Ubuntu 14.04.
Another fix might (untested!) be editing file /usr/include/google/protobuf/extension_set.h
. At line 183, change this:
void AppendToList(const Descriptor* containing_type,
const DescriptorPool* pool,
vector<const FieldDescriptor*>* output) const;
to this:
void AppendToList(const Descriptor* containing_type,
const DescriptorPool* pool,
std::vector<const FieldDescriptor*>* output) const;
(note the std::
before vector
)
Then run the tests as you normally would:
make test
planning on working around this by updating to the latest vector tile spec protobuf which includes
Started here: https://github.com/mapbox/mapnik-vector-tile/commit/1532ccce20df6b8ec031873ea59b6bd364689818
fixed by #66
I can confirm that the 0.6.0 release appears to fix this.
noting that the cause of the clashing vector
namespace may eventually get fixed upstream: https://github.com/google/protobuf/pull/72
The tests are failing to build in the 0.5.5 code:
Compiler is gcc 4.8.3 and mapnik is 2.2.