[GRASS-dev] recent updates to Vlib break vectors in GRASS 7

Michael Barton Michael.Barton at asu.edu
Mon Dec 27 12:14:45 EST 2010


I just updated from the svn trunk and tried to compile GRASS. I noticed that there have been very recent updates to Vlib. I also hit errors in Vlib that cascaded through all the rest of the vector modules. I wonder if this is an issue with compiling to 64 bit?

Compiling on Mac OS X 10.6. Here are the errors in Vlib.

cmb-MBP-3:grass70_dev cmbarton$

cmb-MBP-3:grass70_dev cmbarton$ cd /Users/Shared/grass_dev/grass70_dev/lib/vector/Vlib
cmb-MBP-3:Vlib cmbarton$ make
gcc  -g -O2   -arch i386 -arch x86_64 -fno-common  -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include  -D_FILE_OFFSET_BITS=64  -I/Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grasslibs"\"   -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -I/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include -o OBJ.i386-apple-darwin10.5.0/open_ogr.o -c open_ogr.c
In file included from open_ogr.c:26:
/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such file or directory
In file included from open_ogr.c:26:
/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include/grass/gprojects.h:35: error: expected specifier-qualifier-list before ‘projPJ’
In file included from open_ogr.c:26:
/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such file or directory
In file included from open_ogr.c:26:
/Users/Shared/grass_dev/grass70_dev/dist.i386-apple-darwin10.5.0/include/grass/gprojects.h:35: error: expected specifier-qualifier-list before ‘projPJ’
lipo: can't figure out the architecture type of: /var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//cckHGdhr.out


Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu













More information about the grass-dev mailing list