[GRASS5] Re: Bob Covill's NVIZ2.2
Paul Kelly
paul-grass at stjohnspoint.co.uk
Tue Jun 17 13:06:47 EDT 2003
On Tue, 17 Jun 2003, Soil & Water Lab. wrote:
> Hello,
> I tried to compile Bob's version of NVIZ2.2 on a SuSE7.1/i386 box. I came with
> this error message:
>
> #################################################################
> /opt/src/grass5/grass50_exp_2003_06_14/src.contrib/GMSL/NVIZ2.2/src
> make -f OBJ.i686-pc-linux-gnu/make.rules
>
> make[1]: Entering directory
> `/opt/src/grass5/grass50_exp_2003_06_14/src.contrib/GMSL/NVIZ2.2/src'
> gcc -I/opt/src/grass5/grass50_exp_2003_06_14/src/include -g -O2
> -I/usr/X11R6/include -I/usr/include -I/usr/include
> -I/opt/src/grass5/grass50_exp_2003_06_14/src/libes/ogsf -D_NO_PROTO
> -D__STDC__ -c map_obj.c -o OBJ.i686-pc-linux-gnu/map_obj.o
> map_obj.c: In function `get_att':
> map_obj.c:1331: `SV_ATT_FLAT' undeclared (first use in this function)
> map_obj.c:1331: (Each undeclared identifier is reported only once
> map_obj.c:1331: for each function it appears in.)
That isn't the version I sent you that you're compiling; in Bob's latest
version the first mention of SV_ATT_FLAT in map_obj.c is at line 1454:
doom 944% grep -n SV_ATT_FLAT *
interface.h:62:#define SV_ATT_FLAT -7
map_obj.c:1454: case SV_ATT_FLAT:
map_obj.c:1866: return (SV_ATT_FLAT);
doom 945%
so maybe something else has got mixed up.
I maybe should have said after backing up the existing NVIZ2.2 and ogsf
directories, to delete them (or simply move them somewhere else which
will do the two things at once), as the tar archive contains all the
files in these two directories, changed and unchanged.
Paul
More information about the grass-dev
mailing list