From e102a594b046e80a4d58cdf0498fdbc080e953a9 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 4 Aug 2011 17:03:46 +0200 Subject: [PATCH] Compilation instructions --- README | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README b/README index d579913..5006cda 100644 --- a/README +++ b/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 @@ -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 -