[Xastir] Debian and Shapelib
Bob Nielsen
nielsen at oz.net
Sun Jan 12 21:42:15 EST 2003
Debian's libshp-dev (1.2.9) puts shapefil.h in /usr/include and maps.c
(latest CVS, at least) will not compile as-is.
I am not very familiar with C programming (Fortran, anyone?), but
changing line 73 of maps.c from:
#include "libshp/shapefil.h"
to:
#include "shapefil.h"
or
#include <shapefil.h>
causes maps.c to compile without errors. I'm not sure which is the
correct syntax, but either seems to work.
This is with the "sarge"/testing version of Debian and may not apply to
other versions or distributions.
Bob, N7XY
More information about the Xastir
mailing list