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.)
map_obj.c: In function `sv_att_atoi':
map_obj.c:1717: `SV_ATT_FLAT' undeclared (first use in this function)
make[1]: *** [OBJ.i686-pc-linux-gnu/map_obj.o] Error 1
make[1]: Leaving directory
`/opt/src/grass5/grass50_exp_2003_06_14/src.contrib/GMSL/NVIZ2.2/src'
make: *** [nvwish] Error 2
*************************************************
I'm obviously missing something somewhere. Would you have any idea of a fix ?
Thanks in advance.
P.
--
------------------------------
Soil and Water Laboratory
Biological and Environmental Engineering Department
Cornell University
Riley-Robb Hall
ITHACA, NY 14853 - USA
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.
It appears that you do not have the current version of "interface.h" from "src.contrib/GMSL/NVIZ2.2/src".
It is in this file that "SV_ATT_FLAT" is defined.
If you are building from a CVS version, then I would recommend doing an update in the src/libes/ogsf and src.contrib/GMSL/NVIZ2.2 directories just to make sure you have everything up to date.
Hope this helps.
--
Bob Covill
Tekmap Consulting
P.O. Box 2016
Fall River, N.S.
B2T 1K6
Canada
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.)
map_obj.c: In function `sv_att_atoi':
map_obj.c:1717: `SV_ATT_FLAT' undeclared (first use in this function)
make[1]: *** [OBJ.i686-pc-linux-gnu/map_obj.o] Error 1
make[1]: Leaving directory `/opt/src/grass5/grass50_exp_2003_06_14/src.contrib/GMSL/NVIZ2.2/src'
make: *** [nvwish] Error 2
*************************************************
I'm obviously missing something somewhere. Would you have any idea of a fix ? Thanks in advance.
P.
It appears that you do not have the current version of "interface.h"
from "src.contrib/GMSL/NVIZ2.2/src".
After correction, and taking Paul's advices into account, I managed to compile
the latest version of NVIZ2.2, which gives me some troubles, though:
The "Control" window consists only in a portion of the menu bar ("File", "an"
(for "Panel"), and "Help"). No Orientation panel. When "Surface" or any other
panel is selected, nothing is displayed.
Reversing to the grass50_exp_2003_06_14 version seems to fix the problem (viz,
the "control" window is correclty displayed)
Would you have any idea of what causes this problem ? In its current state,
nviz is unusable on my box.
Thanks a lot in advance
P.
--
------------------------------
Soil and Water Laboratory
Biological and Environmental Engineering Department
Cornell University
Riley-Robb Hall
ITHACA, NY 14853 - USA
> It appears that you do not have the current version of "interface.h"
> from "src.contrib/GMSL/NVIZ2.2/src".
After correction, and taking Paul's advices into account, I managed to compile
the latest version of NVIZ2.2, which gives me some troubles, though:
The "Control" window consists only in a portion of the menu bar ("File", "an"
(for "Panel"), and "Help"). No Orientation panel. When "Surface" or any other
panel is selected, nothing is displayed.
Reversing to the grass50_exp_2003_06_14 version seems to fix the problem (viz,
the "control" window is correclty displayed)
Would you have any idea of what causes this problem ? In its current state,
nviz is unusable on my box.
--
------------------------------
Soil and Water Laboratory
Biological and Environmental Engineering Department
Cornell University
Riley-Robb Hall
ITHACA, NY 14853 - USA
Almost. In fact, the menu bar is truncated : the "Scripting" entry does not
appear, and the "Panel" entry becomes "an". No space between "an" and "Help"
(Please look at the .PNG I attach, it looks pretty much like that).
I have only tried with KDE: everything's fine with the CVS version, I get the
truncated bar with Bob's version.
On Tue, Jun 17, 2003 at 04:05:59PM -0400, Soil & Water Lab. wrote:
> Does it look like this?
Almost. In fact, the menu bar is truncated : the "Scripting" entry does not
appear, and the "Panel" entry becomes "an". No space between "an" and "Help"
(Please look at the .PNG I attach, it looks pretty much like that).
I have only tried with KDE: everything's fine with the CVS version, I get the
truncated bar with Bob's version.