Opened 11 years ago

Closed 11 years ago

#1867 closed defect (fixed)

v.external not compiling

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Vector Version: svn-trunk
Keywords: v.external Cc:
CPU: OSX/Intel Platform: MacOSX

Description

The error is below. Could it be related to r54571?

gcc  -g -O2   -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk  -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include  -D_FILE_OFFSET_BITS=64 -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include -DPACKAGE=\""grassmods"\"   -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include -o OBJ.x86_64-apple-darwin12.2.0/list.o -c list.c
In file included from list.c:6:
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such file or directory
In file included from list.c:6:
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include/grass/gprojects.h:35: error: expected specifier-qualifier-list before ‘projPJ’
list.c: In function ‘list_formats’:
list.c:94: warning: format not a string literal and no format arguments
list.c: In function ‘list_layers’:
list.c:111: warning: format not a string literal and no format arguments
In file included from list.c:6:
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such file or directory
In file included from list.c:6:
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/include/grass/gprojects.h:35: error: expected specifier-qualifier-list before ‘projPJ’
list.c: In function ‘list_formats’:
list.c:94: warning: format not a string literal and no format arguments
list.c: In function ‘list_layers’:
list.c:111: warning: format not a string literal and no format arguments
lipo: can't figure out the architecture type of: /var/folders/dm/x_m7msz48xj_9c0059b59rf00000gn/T//cceBnoeO.out
make: *** [OBJ.x86_64-apple-darwin12.2.0/list.o] Error 1

Change History (3)

comment:1 by mmetz, 11 years ago

Please try r54827.

Markus M

comment:2 by cmbarton, 11 years ago

It now compiles without error. Thanks!

Michael

comment:3 by martinl, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.