[GRASS-dev] update on Mac compiling and running

Michael Barton michael.barton at asu.edu
Tue Sep 9 01:27:57 EDT 2008


I just updated and recompiled.

vdigit still is linked against the wrong Python and causes a version  
mismatch error when wxgui starts.

In better news, I got a LOT farther with wxnviz.

../lib/nviz now compiles successfully

But ../gui/wxpython/nviz bombs with the following error

/Users/cmbarton/grass_dev/grass6_src/gui/wxpython/nviz

/usr/local/bin/swig -c++ -python -shadow -o grass6_wxnviz_wrap.cpp  
grass6_wxnviz.i
c++ -I/Users/cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/ 
include  -arch i386 -Os -g   -fno-common -I/Library/Frameworks/ 
GDAL.framework/Versions/1.5/Headers -I/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -I/Library/Frameworks/ 
Python.framework/Versions/2.5/include/python2.5 -arch ppc -arch i386 - 
isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno- 
long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic - 
DNDEBUG -g -O3 -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/ 
include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ - 
D__WXMAC__  -I/usr/X11/include    -DPACKAGE=\""grasslibs"\"  -I/Users/ 
cmbarton/grass_dev/grass6_src/dist.i386-apple-darwin9.4.0/include -o  
OBJ.i386-apple-darwin9.4.0/grass6_wxnviz_wrap.o -c  
grass6_wxnviz_wrap.cpp
grass6_wxnviz_wrap.cpp:3165: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3173: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3180: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3241: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3781: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp: In static member function ‘static int  
swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**)’:
grass6_wxnviz_wrap.cpp:3889: error: expected unqualified-id before ‘?’  
token
grass6_wxnviz_wrap.cpp:3165: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3173: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3180: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3241: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp:3781: error: expected unqualified-id before ‘{’  
token
grass6_wxnviz_wrap.cpp: In static member function ‘static int  
swig::traits_asptr_stdseq<Seq, T>::asptr(PyObject*, Seq**)’:
grass6_wxnviz_wrap.cpp:3889: error: expected unqualified-id before ‘?’  
token
lipo: can't figure out the architecture type of: /var/folders/AK/ 
AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//cch0tePs.out
make: *** [OBJ.i386-apple-darwin9.4.0/grass6_wxnviz_wrap.o] Error 1
cmb-MBP-2:nviz cmbarton$


Getting closer

I'll see if the rendering bug is fixed and color management previews  
work again.

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

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080908/d7e0c469/attachment-0001.html


More information about the grass-dev mailing list