[GRASS-dev] porting i.spec.sam to grass7

Markus Neteler neteler at osgeo.org
Mon Jan 19 13:11:40 PST 2015


(the mail from my mobile isn't yet here, so I try again)

On Mon, Jan 19, 2015 at 7:13 PM, Yann Chemin <ychemin at gmail.com> wrote:
> Seems to be the last hurdle..
> ogr_api.h
> ----------------
> In file included from
> /home/yann/dev/grass_yann/dist.x86_64-unknown-linux-gnu/include/grass/vect/digit.h:3:0,
>                  from
> /home/yann/dev/grass_yann/dist.x86_64-unknown-linux-gnu/include/grass/vector.h:4,
>                  from main.c:27:
> /home/yann/dev/grass_yann/dist.x86_64-unknown-linux-gnu/include/grass/vect/dig_structs.h:27:21:
> fatal error: ogr_api.h: No such file or directory
>  #include <ogr_api.h>
>                      ^
> compilation terminated.
> ------------------

You need to add in the Makefile:

EXTRA_INC = $(PROJINC)

Markus


More information about the grass-dev mailing list