/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
Any change to nviz.i should cause grass6_wxnviz.i to be re-made, which
in turn should cause grass6_wxnviz.py and grass6_wxnviz_wrap.cpp to be
re-made.
"make ; touch nviz.i ; make" seems to confirm this (at least for 7.x,
and the only difference between the Makefiles is grass6 -> grass7 in
the definition of LIB_NAME).
More generally, dependency information is usually sufficient within a
single directory. It's when something depends upon files in other
directories (e.g. headers, libraries, *.make files) that the
dependency information isn't sufficient (and that can't easily be
fixed).