[GRASS-dev] Compiling i.pr
hamish_b at yahoo.com
Fri Jan 29 01:16:24 EST 2010
> Luisa Peña wrote:
> > Several o i.pr.X are compiled but, as far as I can
> see, only i.pr is not there.
is there supposed to be a central "i.pr"? I don't see PGM=i.pr in any of
> > expected specifier-qualifier-list before
> > ogr_api.h: No such file or directory
> I suspect that i.pr_*/Makefile need:
> EXTRA_CFLAGS = $(VECT_CFLAGS) -I$(PRINCLUDE)
> The vector headers include the OGR headers, so anything
> which includes the vector headers needs any -I switches which are
> required to find the OGR headers.
right, I've just fixed the i.pr.sites_aggregate Makefile with the
above and now all i.pr.* modules compile for me in 6.5svn. (r40730)
there are a number of compiler warnings about *line++; "warning: value
computed is not used" which I am not sure about.
More information about the grass-dev