[GRASS-user] v.delaunay3d compilation issues

Martin Landa landa.martin at gmail.com
Tue Mar 26 11:29:53 PDT 2019


Hi,

Ășt 26. 3. 2019 v 19:07 odesĂ­latel Robert Dzur <rdzur at bhinc.com> napsal:
> Yeah...I actually have libgdal-dev (2.4.0) package installed; and still see this issue.

check header location:

$ dpkg -L libgdal-dev | grep ogr_api
/usr/include/gdal/ogr_api.h

$ g.extension v.delaunay3d --v
...
c++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2
-fdebug-prefix-map=/build/grass-8Jl1TI/grass-7.6.1=.
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong
-Wformat -Werror=format-security  -I/usr/lib/grass76/include
-I/usr/lib/grass76/include   -frounding-math -DPACKAGE=\""grassmods"\"
 -I/usr/include/postgresql  -I/usr/lib/grass76/include
-I/usr/lib/grass76/include
-DRELDIR=\"/tmp/grass7-martin-628/tmpHLuA32/v.delaunay3d\" -o
OBJ.x86_64-pc-linux-gnu/main.o -c main.cpp
...

so apparently `-I/usr/include/gdal` is missing. Should be fixed in
r74306. Try to run g.extension command again.

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the grass-user mailing list