[GRASS-dev] grass65 installation error

Mohammed Rashad rashadkm at yahoo.com
Tue Jul 6 13:31:30 EDT 2010



 c1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /usr/include/python2.6/Python.h:8,
                 from nviz.h:28,
                 from change_view.cpp:15:
/usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/assert.h:37,
                 from /usr/include/wx-2.8/wx/debug.h:18,
                 from /usr/include/wx-2.8/wx/defs.h:521,
                 from /usr/include/wx-2.8/wx/wxprec.h:13,
                 from nviz.h:5,
                 from change_view.cpp:15:
/usr/include/features.h:158:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from nviz.h:28,
                 from change_view.cpp:15:
/usr/include/python2.6/pyconfig.h:1040:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/include/assert.h:37,
                 from /usr/include/wx-2.8/wx/debug.h:18,
                 from /usr/include/wx-2.8/wx/defs.h:521,
                 from /usr/include/wx-2.8/wx/wxprec.h:13,
                 from nviz.h:5,
                 from change_view.cpp:15:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
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’
/home/rashad/grass6_devel/dist.i686-pc-linux-gnu/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’
/home/rashad/grass6_devel/dist.i686-pc-linux-gnu/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
error: command 'gcc' failed with exit status 1
make: *** [OBJ.i686-pc-linux-gnu/_grass6_wxnviz.so] Error 1


--
Rashad



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


More information about the grass-dev mailing list