-I/home/peter/osmium/include
wiso opened this issue · comments
Hello, I've another problem, now trying to compile /osm-history-renderer/importe
osm-history-renderer/importer> make
g++ -g -O3 -Wall -Wextra -pedantic getconf LFS_CFLAGS
-I/home/peter/osmium/include -I/usr/include/postgresql/ -DOSMIUM_WITH_GEOS -o osm-history-importer importer.cpp -lexpat -lpq -lproj -lz -lprotobuf-lite -losmpbf -lpthread -lgeos
importer.cpp:18:22: fatal error: osmium.hpp: File o directory non esistente
compilation terminated.
make: *** [osm-history-importer] Errore 1
I think you need to edit the Makefile
pach:
diff --git a/importer/Makefile b/importer/Makefile
index ac4c29a..8afb0d6 100644
--- a/importer/Makefile
+++ b/importer/Makefile
@@ -13,7 +13,7 @@ CXXFLAGS += getconf LFS_CFLAGS
#CXXFLAGS += -Wpadded -Winline
path to osmium
-CXXFLAGS += -I/home/peter/osmium/include -I/usr/include/postgresql/
+CXXFLAGS += -Iosmium/include -I/usr/include/postgresql/
compile & link against expat to have xml reading support
LDFLAGS += -lexpat
would be better if you could send a git pull request (it's not that hard with github). Fixed in 30bb73e