[OSM-dev] osmium (osmjs) compile problem

Martijn van Exel m at rtijn.org
Mon Oct 17 03:12:05 BST 2011


Hi,

I'm compiling osmium on Ubuntu 10.04.3 LTS. The first problem occurs when I
try to compile the OSM PBF library. It does not work via the debuild route,
which gives me:

fileformat.pb.h:16:2: error: #error This file was generated by an older
version of protoc which is
fileformat.pb.h:17:2: error: #error incompatible with your Protocol Buffer
headers. Please
fileformat.pb.h:18:2: error: #error regenerate this file with a newer
version of protoc.

I can make / make install and that seems to go OK.

On to Osmium where I run into trouble trying to compile osmjs:

../include/osmium/osm/tag_list.hpp: In member function
âv8::Handle<v8::Array> Osmium::OSM::TagList::js_enumerate_tag_keys() constâ:
../include/osmium/osm/tag_list.hpp:138: error: no matching function for call
to âv8::Array::Set(int, v8::Local<v8::String>)â
/usr/include/v8.h:1145: note: candidates are: bool
v8::Object::Set(v8::Handle<v8::Value>, v8::Handle<v8::Value>,
v8::PropertyAttribute)

and many similar messages. Do I have an incompatible version of the V8
library or what is the matter here?

Martijn
-- 
martijn van exel
geospatial omnivore
1109 1st ave #2
salt lake city, ut 84103
801-550-5815
http://oegeo.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20111016/43fca33b/attachment.html>


More information about the dev mailing list