Opened 8 years ago

Closed 8 years ago

#4198 closed defect (invalid)

Missing shapefil.h

Reported by: pnorman Owned by: Tom Hughes
Priority: minor Milestone:
Component: utils Version:
Keywords: Cc:


After checking out

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

Change History (2)

comment:1 Changed 8 years ago by pnorman

It turns out the missing dependency was libshp-dev.

comment:2 Changed 8 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

Sounds like there's no bug here then.

Note: See TracTickets for help on using tickets.