[GRASSLIST:4112] Re:Re: nviz don

Michele michele.rocc at libero.it
Fri Aug 6 03:34:06 EDT 2004


Dear Glynn,

The problem seems to be in the "do_zoom" module here's the output:

*********************************
do_zoom.c: In function `Nstart_zoom_cmd':
do_zoom.c:73: warning: passing arg 2 of `__strcpy_small' with different width due to prototype
do_zoom.c:73: warning: passing arg 3 of `__strcpy_small' with different width due to prototype
do_zoom.c:73: warning: passing arg 4 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:73: warning: passing arg 5 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:76: warning: implicit declaration of function `GS_zoom_setup'
do_zoom.c:96: warning: implicit declaration of function `Create_OS_Ctx'
do_zoom.c:129: warning: implicit declaration of function `Ndraw_all_cmd'
do_zoom.c:139: warning: implicit declaration of function `GS_write_zoom'
do_zoom.c:155: warning: passing arg 2 of `__strcpy_small' with different width due to prototype
do_zoom.c:155: warning: passing arg 3 of `__strcpy_small' with different width due to prototype
do_zoom.c:155: warning: passing arg 4 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:155: warning: passing arg 5 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:158: warning: passing arg 2 of `__strcpy_small' with different width due to prototype
do_zoom.c:158: warning: passing arg 3 of `__strcpy_small' with different width due to prototype
do_zoom.c:158: warning: passing arg 4 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:158: warning: passing arg 5 of `__strcpy_small' as unsigned due to prototype
do_zoom.c:201: warning: implicit declaration of function `Destroy_OS_Ctx'
do_zoom.c: In function `Create_OS_Ctx':
do_zoom.c:281: `GLX_PBUFFER_WIDTH' undeclared (first use in this function)
do_zoom.c:281: (Each undeclared identifier is reported only once
do_zoom.c:281: for each function it appears in.)
do_zoom.c:283: `GLX_PBUFFER_HEIGHT' undeclared (first use in this function)
do_zoom.c:315: warning: passing arg 3 of `XCreatePixmap' as unsigned due to prototype
do_zoom.c:315: warning: passing arg 4 of `XCreatePixmap' as unsigned due to prototype
do_zoom.c:315: warning: passing arg 5 of `XCreatePixmap' as unsigned due to prototype
do_zoom.c:326: warning: implicit declaration of function `init_ctx'
do_zoom.c: In function `init_ctx':
do_zoom.c:411: warning: implicit declaration of function `GS_getlight_position'
do_zoom.c:412: warning: passing arg 2 of `GS_setlight_position' as `float' rather than `double' due to prototype
do_zoom.c:412: warning: passing arg 3 of `GS_setlight_position' as `float' rather than `double' due to prototype
do_zoom.c:412: warning: passing arg 4 of `GS_setlight_position' as `float' rather than `double' due to prototype
do_zoom.c:414: warning: implicit declaration of function `GS_getlight_color'
do_zoom.c:415: warning: passing arg 2 of `GS_setlight_color' as `float' rather than `double' due to prototype
do_zoom.c:415: warning: passing arg 3 of `GS_setlight_color' as `float' rather than `double' due to prototype
do_zoom.c:415: warning: passing arg 4 of `GS_setlight_color' as `float' rather than `double' due to prototype
do_zoom.c:417: warning: implicit declaration of function `GS_getlight_ambient'
do_zoom.c:418: warning: passing arg 2 of `GS_setlight_ambient' as `float' rather than `double' due
to prototype
do_zoom.c:418: warning: passing arg 3 of `GS_setlight_ambient' as `float' rather than `double' due
to prototype
do_zoom.c:418: warning: passing arg 4 of `GS_setlight_ambient' as `float' rather than `double' due
to prototype
make[2]: *** [OBJ.i686-pc-linux-gnu/do_zoom.o] Error 1
make[2]: Leaving directory `/home/michele/compila/grass57_exp_2004_07_31/visualization/nviz/src'
make[1]: *** [nvwish] Error 2
make[1]: Leaving directory `/home/michele/compila/grass57_exp_2004_07_31/visualization/nviz'
xganim

***********************************************************

maybe it's a debian specific problem?




> 
> Michele wrote:
> 
> > I compiled grass57 with the exp_2004_07_31 sources and nviz do not
> > start giving the following error:
> > 
> > Error: couldn't execute "nviz": no such file or directory
> 
> Then nviz failed to compile for some reason. You will need to examine
> the output from "make" in order to determine the reason.
> 
> ["nviz" itself is a script but, if the NVWISH2.2 executable fails to
> compile, make will abort processing the visualization/nviz directory
> without installing the nviz script.]
> 
> -- 
> Glynn Clements <glynn.clements at virgin.net>
> 
> 




More information about the grass-user mailing list