On Wed, 13 Oct 2010 21:06:03 +0200
andre <mr.jo...@ewetel.net> wrote:

> schön das du das pbf2osm in C geschrieben hast. Habe versucht, das zu 
Na, das kommt nun nicht von mir...

> übersetzen, aber leider scheiter ich an dem protobuf pfad in dem Makefile.
auch das git subproject geholt, wie's in dessen README steht?

> Das Gleiche gilt für libosm. Was für programme benötige ich dafür und 
> welchen pfad muss ich einstellen?
Siehe README. Gerade unter squeeze ausgetestet:
$ sudo apt-get install libprotobuf-c0-dev protobuf-c-compiler \
                       libprotobuf6
$ tar xvzf libosm-0.3.tar.gz
$ git clone http://github.com/scrosby/OSM-binary.git
$ cd libosm-0.3
$ vi Makefile
  ... 
  OSM_BINARY_PATH=../OSM-binary
 :wq
$ make

...und dann natürlich nicht vergessen LD_LIBRARY_PATH zu setzen, wenn
man's direkt aus dem Verzeichnis ausführt ohne die libosm.so in den
Lib-Pfad zu schmeissen.
$ LD_LIBRARY_PATH=$( pwd ) ./osm2gpx
osm2gpx: Usage: osm2gpx file.osm > file.gpx
$



_______________________________________________
Talk-de mailing list
Talk-de@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-de

Antwort per Email an