<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Install package libosmpbf-dev (or similar name).</div><div><br></div><div>--Dennis <br></div><div><br>Am 03.12.2012 um 17:37 schrieb Martin Alegre <<a href="mailto:tin.alegre@gmail.com">tin.alegre@gmail.com</a>>:<br><br></div><blockquote type="cite"><div>Dear all,<br><br>I'm new to the OSM community and currently I'm trying to install the Osmium framework under ubuntu 11.10, but I'm facing some compilation errors. The steps that I followed can be summarized as follows:<br>
1. I basically first installed all the dependencies as suggested in the <a href="http://wiki.openstreetmap.org/wiki/Osmium/Quick_Start">Osmium Quick Start</a> webpage [OK]<br>2. I manually downloaded the zip file available from the Osmium's <a href="https://github.com/joto/osmium">github repository</a> and unpacked locally under a local directory, say: /media/projects/osm/  [OK]<br>
3. Then, I called "make install" from the console and the include files were installed [OK].<br>4. Next, I called "make test" and all the test passed by displaying "*** No errors detected" in the console [OK].<br>
5. Finally, being inside the "examples" subdirectory, I called "make" and a compiler error message was displayed [NOT OK]:<br>$ make<br>g++ -g -Wall -Wextra -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -DOSMIUM_WITH_DEBUG -I/usr/include/libxml2 -o osmium_convert osmium_convert.cpp -lexpat -lz -lpthread -lprotobuf-lite -losmpbf -lxml2<br>
In file included from ../include/osmium.hpp:26:0,<br>                 from osmium_convert.cpp:33:<br>../include/osmium/input/pbf.hpp:33:27: fatal error: osmpbf/osmpbf.h: No such file or directory<br>compilation terminated.<br>
make: *** [osmium_convert] Error 1<br><br>I'm not sure what I did wrong and therefore any feedback is happily welcomed!<br><br>Best,<br><br>Javier<br><br><br><br><br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>dev mailing list</span><br><span><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a></span><br><span><a href="http://lists.openstreetmap.org/listinfo/dev">http://lists.openstreetmap.org/listinfo/dev</a></span><br></div></blockquote></body></html>