[GRASS-user] compiling i.rotate add-on on OSX
Carlos Grohmann
carlos.grohmann at gmail.com
Sun Dec 2 10:35:46 PST 2012
Hi there
After successfully compiling grass7 svn on OSX, I'm trying to compile the
add-on i.rotate.
My problem seems to be with python not recognizing 32/64 bits:
make
GRASS_HOME='/Volumes/HDD/Users/guano/Documents/installs/GIS/grass/modbuild/module/i.rotate'
GRASS_APP='/Applications/GRASS-7.0.app/'
gcc
-I/Volumes/HDD/Users/guano/Documents/installs/GIS/grass/modbuild/module/i.rotate/dist.i386-apple-darwin10.7.0/include
-I/Applications/GRASS-7.0.app//Contents/MacOS/include -Os -fexceptions
-arch i386 -arch x86_64 -DPACKAGE=\""grassmods"\"
-I/Volumes/HDD/Users/guano/Documents/installs/GIS/grass/modbuild/module/i.rotate/dist.i386-apple-darwin10.7.0/include
-I/Applications/GRASS-7.0.app//Contents/MacOS/include -o
OBJ.i386-apple-darwin10.7.0/main.o -c main.c
main.c: In function ‘main’:
main.c:87: error: subscripted value is neither array nor pointer
main.c:89: error: subscripted value is neither array nor pointer
main.c:103: error: subscripted value is neither array nor pointer
main.c:103: error: subscripted value is neither array nor pointer
main.c:111: error: subscripted value is neither array nor pointer
main.c: In function ‘main’:
main.c:87: error: subscripted value is neither array nor pointer
main.c:89: error: subscripted value is neither array nor pointer
main.c:103: error: subscripted value is neither array nor pointer
main.c:103: error: subscripted value is neither array nor pointer
main.c:111: error: subscripted value is neither array nor pointer
lipo: can't figure out the architecture type of:
/var/folders/gf/8bwpz0412gs7706j57hdyb4h0000gn/T//ccVKHaGQ.out
make: *** [OBJ.i386-apple-darwin10.7.0/main.o] Error 1
any hints are welcome
best
Carlos
--
Prof. Carlos Henrique Grohmann
Institute of Geosciences - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -
http://carlosgrohmann.com
http://orcid.org/0000-0001-5073-5572
________________
Can’t stop the signal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121202/4b542c44/attachment.html>
More information about the grass-user
mailing list