Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Missing shapefil.h #4198

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Missing shapefil.h #4198

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: pnorman
[Submitted to the original trac issue database at 1.30pm, Sunday, 29th January 2012]

After checking out http://svn.openstreetmap.org/applications/utils/coastcheck/
and attempting to compile I got a missing file error.

pnorman@merry:~/osm/coastline/coastcheck$ make
gcc -c -g -O2 -Wall -Wextra -std=c99  -I/usr/include/libxml2 '-DVERSION="0.12-20120129"' -o coast2shp.o coast2shp.c
coast2shp.c:41:22: fatal error: shapefil.h: No such file or directory
compilation terminated.
make: *** [coast2shp.o] Error 1

Copying ogr/ogrsf_frmts/shape/shapefil.h from gdal-1.8.1 seemed to fix this issue

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 2.44am, Monday, 30th January 2012]

It turns out the missing dependency was libshp-dev.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 8.39am, Monday, 30th January 2012]

Sounds like there's no bug here then.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant