I'm getting a couple of errors after cvs updating this morning. This is on Mac OSX:
truffula:~/grass5_dev/grass57_cvs/lib/ogsf kirkw$ make
make: *** No rule to make target `Gvol.c', needed by `OBJ.powerpc-apple-darwin7.5.0/Gvol.o'. Stop.
and
truffula:~/grass5_dev/grass57_cvs/visualization/nviz kirkw$ make
cd src ; make
gcc -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/include -I/usr/X11R6/include -I/sw/include -g -O2 -Wall -Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/include -D_NO_PROTO -D__STDC__ -I/usr/local/include -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/include \
-o OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o -c nvizAppInit.c
<command line>:7:1: warning: "__STDC__" redefined
In file included from nvizAppInit.c:9:
interface.h:22:19: gsurf.h: No such file or directory
interface.h:23:21: gstypes.h: No such file or directory
In file included from nvizAppInit.c:9:
interface.h:86: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:87: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:88: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:90: error: `MAX_LIGHTS' undeclared here (not in a function)
nvizAppInit.c:43: warning: `RunScripts' defined but not used
make[1]: *** [OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o] Error 1
make: *** [nvwish] Error 2
Any thoughts?
Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212
Kirk,
I have just added the volume support for nviz - you need to run make mixclean
before compiling. If you still get the error, check whether you
have a link to Gvol.c and if yes, remove it. Then it should run - let me know
if you still have problems.
here are sample images and a new menu for the volumes:
http://skagit.meas.ncsu.edu/~helena/grasswork/zrazky3d.jpg
http://skagit.meas.ncsu.edu/~helena/grasswork/zrzky3dres1.jpg
http://skagit.meas.ncsu.edu/~helena/grasswork/nvizvolmenu.jpg
To all - I suggest that entire nviz is copied to 5.7 at this point, and its development
continues there (no new development should go into 5.3), unless there is
some serious reason for keeping a mixture of nviz links and actual code in 5.7.
It is difficult to get it tested as it is now. Please let me know what do you think,
and I will check with Markus what would be the best way to do it (Markus, I can submit it then).
Helena
R. Wythers wrote:
I'm getting a couple of errors after cvs updating this morning. This is on Mac OSX:
truffula:~/grass5_dev/grass57_cvs/lib/ogsf kirkw$ make
make: *** No rule to make target `Gvol.c', needed by `OBJ.powerpc-apple-darwin7.5.0/Gvol.o'. Stop.
and
truffula:~/grass5_dev/grass57_cvs/visualization/nviz kirkw$ make
cd src ; make
gcc -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ include -I/usr/X11R6/include -I/sw/include -g -O2 -Wall -Wconversion -Wno-implicit-int -I/usr/X11R6/include -I/sw/include -I/usr/X11R6/include -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ include -D_NO_PROTO -D__STDC__ -I/usr/local/include -I/Users/kirkw/grass5_dev/grass57_cvs/include -I/Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.5.0/ include \
-o OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o -c nvizAppInit.c
<command line>:7:1: warning: "__STDC__" redefined
In file included from nvizAppInit.c:9:
interface.h:22:19: gsurf.h: No such file or directory
interface.h:23:21: gstypes.h: No such file or directory
In file included from nvizAppInit.c:9:
interface.h:86: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:87: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:88: error: `MAX_CPLANES' undeclared here (not in a function)
interface.h:90: error: `MAX_LIGHTS' undeclared here (not in a function)
nvizAppInit.c:43: warning: `RunScripts' defined but not used
make[1]: *** [OBJ.powerpc-apple-darwin7.5.0/nvizAppInit.o] Error 1
make: *** [nvwish] Error 2
Any thoughts?
Kirk R. Wythers Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212
_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5
On Mon, 25 Oct 2004, Helena wrote:
Kirk,
I have just added the volume support for nviz - you need to run make mixclean
before compiling. If you still get the error, check whether you
Just to confirm---make mixclean should be run before updating from CVS (otherwise some of the new NVIZ files in 5.7 will not check out). See the INSTALL file.
On Monday 25 October 2004 19:50, Helena wrote:
To all - I suggest that entire nviz is copied to 5.7 at this point, and its
development continues there (no new development should go into 5.3), unless
there is some serious reason for keeping a mixture of nviz links and actual
code in 5.7. It is difficult to get it tested as it is now. Please let me
know what do you think, and I will check with Markus what would be the best
way to do it (Markus, I can submit it then).
I'll ask Bernhard soon to copy all linked files from grass to grass51
including history.
Radim