[OSM-talk] OSM2SHP

Eamonn Linehan Eamonn.Linehan at cs.tcd.ie
Tue May 15 17:05:46 BST 2007


Im new to linux and am having trouble compiling the export utility
osm2shp. I've been careful to first compile and link the libosm library.
Can anyone help me? The error I receive is below.

Thanks,
- Éamonn


make
g++ -I/usr/local/include -I../../libs/libosm    -c -o osm2shp.o
osm2shp.cpp
osm2shp.cpp: In function ‘int main(int, char**)’:
osm2shp.cpp:30: error: no matching function for call to
‘OSM::Components::makeShp(char*&, char*&)’
/usr/local/include/Components.h:134: note: candidates are: bool
OSM::Components::makeShp(const std::string&, const std::string&, const
std::string&, const std::string&)
make: *** [osm2shp.o] Error 1






More information about the talk mailing list