I just updated from the CVS, did a make distclean, and compiled. wxnviz failed to compile with the error below.
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: www.public.asu.edu/~cmbarton, http://csdc.asu.edu ========== compile error ============= Errors in: /Users/cmbarton/grass_dev/grass65_dev/gui/wxpython/nviz -- In case of errors please change into the directory with error and run 'make'. If you get multiple errors, you need to deal with them in the order they appear in the error log. If you get an error building a library, you will also get errors from anything which uses the library. -- Finished compilation: Fri Jun 25 12:18:45 MST 2010 make: *** [default] Error 1 cmb-MBP:grass65_dev cmbarton$ cd /Users/cmbarton/grass_dev/grass65_dev/gui/wxpython/nviz cmb-MBP:nviz cmbarton$ make python setup.py build_ext --swig=/usr/bin/swig --swig-opts=-c++ --build-lib=OBJ.i386-apple-darwin10.4.0 --build-temp=OBJ.i386-apple-darwin10.4.0 running build_ext building '_grass6_wxnviz' extension swigging grass6_wxnviz.i to grass6_wxnviz_wrap.cpp /usr/bin/swig -python -c++ -o grass6_wxnviz_wrap.cpp grass6_wxnviz.i gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc -arch x86_64 -pipe -DPACKAGE="grasslibs" -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -I/Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include -I/Library/Frameworks/GDAL.framework/Versions/1.7/Headers -I/usr/local/lib/wxPython-unicode-2.8.10.1/lib/wx/include/mac-unicode-debug-2.8 -I/usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8 -I/System/Library/Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c change_view.cpp -o OBJ.i386-apple-darwin10.4.0/change_view.o cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/glcanvas.h:4, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/glcanvas.h:60, from nviz.h:26, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) change_view.cpp: In member function ‘std::vector<double, std::allocator<double> > Nviz::SetViewDefault()’: change_view.cpp:56: error: cannot convert ‘float*’ to ‘double*’ for argument ‘1’ to ‘int Nviz_get_exag_height(double*, double*, double*)’ change_view.cpp: In member function ‘int Nviz::SetView(float, float, float, float, float)’: change_view.cpp:81: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_height(double)’ change_view.cpp:83: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_position(double, double)’ change_view.cpp:85: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:134: error: too many arguments to function ‘int Nviz_set_viewpoint_twist(int)’ change_view.cpp:85: error: at this point in file change_view.cpp:87: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:133: error: too many arguments to function ‘int Nviz_set_viewpoint_persp(int)’ change_view.cpp:87: error: at this point in file cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/glcanvas.h:4, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/glcanvas.h:60, from nviz.h:26, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) change_view.cpp: In member function ‘std::vector<double, std::allocator<double> > Nviz::SetViewDefault()’: change_view.cpp:56: error: cannot convert ‘float*’ to ‘double*’ for argument ‘1’ to ‘int Nviz_get_exag_height(double*, double*, double*)’ change_view.cpp: In member function ‘int Nviz::SetView(float, float, float, float, float)’: change_view.cpp:81: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_height(double)’ change_view.cpp:83: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_position(double, double)’ change_view.cpp:85: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:134: error: too many arguments to function ‘int Nviz_set_viewpoint_twist(int)’ change_view.cpp:85: error: at this point in file change_view.cpp:87: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:133: error: too many arguments to function ‘int Nviz_set_viewpoint_persp(int)’ change_view.cpp:87: error: at this point in file cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8, from nviz.h:28, from change_view.cpp:15: /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:894:1: warning: "SIZEOF_LONG" redefined In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/platform.h:196, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/defs.h:21, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/wxprec.h:13, from nviz.h:5, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/wx/include/mac-unicode-debug-2.8/wx/setup.h:959:1: warning: this is the location of the previous definition In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8, from nviz.h:28, from change_view.cpp:15: /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:923:1: warning: "SIZEOF_SIZE_T" redefined In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/platform.h:196, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/defs.h:21, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/wxprec.h:13, from nviz.h:5, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/wx/include/mac-unicode-debug-2.8/wx/setup.h:968:1: warning: this is the location of the previous definition In file included from /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/Python.h:8, from nviz.h:28, from change_view.cpp:15: /System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:944:1: warning: "SIZEOF_VOID_P" redefined In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/platform.h:196, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/defs.h:21, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/wxprec.h:13, from nviz.h:5, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/lib/wx/include/mac-unicode-debug-2.8/wx/setup.h:956:1: warning: this is the location of the previous definition In file included from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/glcanvas.h:4, from /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/glcanvas.h:60, from nviz.h:26, from change_view.cpp:15: /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:49: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) /usr/local/lib/wxPython-unicode-2.8.10.1/include/wx-2.8/wx/mac/carbon/glcanvas.h:53: warning: ‘AGLDrawable’ is deprecated (declared at /System/Library/Frameworks/AGL.framework/Headers/agl.h:48) change_view.cpp: In member function ‘std::vector<double, std::allocator<double> > Nviz::SetViewDefault()’: change_view.cpp:56: error: cannot convert ‘float*’ to ‘double*’ for argument ‘1’ to ‘int Nviz_get_exag_height(double*, double*, double*)’ change_view.cpp: In member function ‘int Nviz::SetView(float, float, float, float, float)’: change_view.cpp:81: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_height(double)’ change_view.cpp:83: error: cannot convert ‘nv_data*’ to ‘double’ for argument ‘1’ to ‘int Nviz_set_viewpoint_position(double, double)’ change_view.cpp:85: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:134: error: too many arguments to function ‘int Nviz_set_viewpoint_twist(int)’ change_view.cpp:85: error: at this point in file change_view.cpp:87: error: invalid conversion from ‘nv_data*’ to ‘int’ /Users/cmbarton/grass_dev/grass65_dev/dist.i386-apple-darwin10.4.0/include/grass/nviz.h:133: error: too many arguments to function ‘int Nviz_set_viewpoint_persp(int)’ change_view.cpp:87: error: at this point in file lipo: can't open input file: /var/folders/AK/AKpYwDw1EoWI+fFF02nvRk+++TI/-Tmp-//ccZDdadP.out (No such file or directory) error: command 'gcc-4.2' failed with exit status 1 make: *** [OBJ.i386-apple-darwin10.4.0/_grass6_wxnviz.so] Error 1 cmb-MBP:nviz cmbarton$
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev