[GRASS-dev] compiling error addon r.stream.pos - grass65svn
hamish_b at yahoo.com
Sun Dec 4 16:12:02 EST 2011
Markus N wrote:
> > tested with grass65svn (r49498) in a ubuntu
> > 11.10-32bit-box
> > Errors in:
> > /usr/local/src/grass6stream/raster/r.stream.pos
> > /usr/local/src/grass6stream/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:26:21:
> > schwerwiegender Fehler: ogr_api.h: file or folder
> > couldn't be found
> > Kompilierung beendet.
> > make: *** [OBJ.i686-pc-linux-gnu/io.o] Fehler 1
> Here an older, similar posting with i.pr:
> Glynn wrote:
> > 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.
> Could you try this?
the Makefile was missing all vector and dbmi variables even
though it #include'd grass/vector.h and grass/dbmi.h. now
fixed in addons svn.
More information about the grass-dev