Compilation instructions
This commit is contained in:
parent
4000ba19bc
commit
e102a594b0
22
README
22
README
|
|
@ -4,6 +4,25 @@ OSM PBF
|
|||
|
||||
See http://wiki.openstreetmap.org/wiki/PBF_Format .
|
||||
|
||||
There is a Java and a C version of the PBF library code here.
|
||||
|
||||
C Version
|
||||
=========
|
||||
|
||||
To compile:
|
||||
cd src
|
||||
make
|
||||
|
||||
To install:
|
||||
cd src
|
||||
make install
|
||||
|
||||
To build the Debian/Ubuntu package call:
|
||||
debuild -I -us -uc
|
||||
|
||||
To install the Debian/Ubuntu package call:
|
||||
sudo dpkg --install ../libosmpbf-dev*.deb
|
||||
|
||||
To include in your program use:
|
||||
|
||||
#include <osmpbf/osmpbf.h>
|
||||
|
|
@ -11,6 +30,3 @@ To include in your program use:
|
|||
and link with:
|
||||
-lpthread -lz -lprotobuf-lite -losmpbf
|
||||
|
||||
To build the Debian/Ubuntu package call:
|
||||
debuild -I -us -uc
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue