Open otmezger opened 11 years ago
You are missing the osmium library
where do I get it? can you post the link to the repository? that would be just great. Thanks
so, I need to get osmium from github (https://github.com/joto/osmium), compile it, and put it within the clone of your repository?
Try sudo apt-get install libosmium-dev
Hi,
I am also having build issues. I just cloned your project, installed the above lib and when I try make
I get this error:
]$ make
g++ -ggdb -Wall -Wredundant-decls -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c osm2shp.cc -o osm2shp.o
In file included from osm2shp.cc:5:0:
/usr/include/osmium.hpp:45:27: fatal error: osmpbf/osmpbf.h: No such file or directory
compilation terminated.
make: *** [osm2shp.o] Error 1
Any help would be appreciated.
sudo apt-get install libosmpbf-dev
+1 for installation instructions.
I got compilation error: shapefil.h not found
make
g++ -ggdb -Wall -Wredundant-decls -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c osm2shp.cc -o osm2shp.o
g++ -ggdb -Wall -Wredundant-decls -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c osm/shapefile.cc -o osm/shapefile.o
In file included from osm/shapefile.cc:1:0:
osm/shapefile.hpp:4:22: fatal error: shapefil.h: No such file or directory
#include <shapefil.h>
^
compilation terminated.
make: *** [osm/shapefile.o] Error
How I fixed issue:
wget http://download.osgeo.org/shapelib/shapelib-1.3.0.zip
unzip shapelib-1.3.0
cd shapelib-1.3.0
su -c 'make && make install'
I have a mac, running 10.8.3. if I run
make
, this is the output:Thanks.