[GRASS-dev] new g.mremove doesn't compile on Mac OS X

Glynn Clements glynn at gclements.plus.com
Sat Sep 13 19:17:35 EDT 2008


Michael Barton wrote:

> I just did an update and compile for OS X (10.5)
> 
> The new C version of g.mremove doesn't compile. Here are the errors.

> /Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/ 
> include/grass/vect/dig_structs.h:22:21: error: ogr_api.h: No such file  
> or directory

It needs this (committed to trunk as r33436):

--- general/g.mremove/Makefile	(revision 33434)
+++ general/g.mremove/Makefile	(working copy)
@@ -4,6 +4,8 @@
 
 LIBES = $(GISLIB) $(VECTLIB) $(G3DLIB)
 DEPENDENCIES = $(GISDEP) $(VECTDEP) $(G3DDEP)
+EXTRA_INC = $(VECT_INC)
+EXTRA_CFLAGS = $(VECT_CFLAGS)
 
 include $(MODULE_TOPDIR)/include/Make/Module.make

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list