'nviz -q' fails to launch nviz, some windows flash up and disappear
straight away. In
'/usr/local/src/grass61/grass-6.1.cvs_src_snapshot_2006_06_24/visualization/README' Markus hints that this is to do with the naming of the tkInt.h and
tkIntDecls.h
But step 3 looses me. Could we have an example of how we should use
the 'elif' statement.
'nviz -q' fails to launch nviz, some windows flash up and disappear
straight away. In
'/usr/local/src/grass61/grass-6.1.cvs_src_snapshot_2006_06_24/visuali
zation/README' Markus hints that this is to do with the naming of the
tkInt.h and tkIntDecls.h
what version of GRASS and TclTk? GRASS 6.0 can have problems with TclTk
8.4, so you might need to compile it with tcltk8.3-dev files. GRASS 6.1
has been fixed to work with all versions of TclTk 8.4. I don't know
about TclTk 8.5.
The GRASS version was hidden in the email, I'm using 6.1 from this
weeks cvs. But, I noticed the path was wrong in my first email, the
README I was refering to was in
"/usr/local/src/grass61/grass-6.1.cvs_src_snapshot_2006_06_24/visualization/nviz/src".
The README suggests renaming tkInt.h and tkIntDecls.h, not too tricky,
but then it talks about editing togl.c which seems a lot more taxing
to thsoe who don't know what they are donig.
So how do I go about getting nviz to talk with TclTk? I think this question amounts to "How we should I
specify the 'elif' statement in togl.c?"
many thanks
Dave
On Tue, Jul 18, 2006 at 12:31:23PM +1200, Hamish wrote:
David wrote:
> 'nviz -q' fails to launch nviz, some windows flash up and disappear
> straight away. In
> '/usr/local/src/grass61/grass-6.1.cvs_src_snapshot_2006_06_24/visuali
> zation/README' Markus hints that this is to do with the naming of the
> tkInt.h and tkIntDecls.h
what version of GRASS and TclTk? GRASS 6.0 can have problems with TclTk
8.4, so you might need to compile it with tcltk8.3-dev files. GRASS 6.1
has been fixed to work with all versions of TclTk 8.4. I don't know
about TclTk 8.5.
The GRASS version was hidden in the email, I'm using 6.1 from this
weeks cvs.
I am using almost the same setup, Debian/sarge with Tcltk 8.4 and GRASS
6.1 cvs from a week ago. (and it works)
does "nviz -q" from the GRASS command prompt output anything to the
terminal window?
But, I noticed the path was wrong in my first email, the
README I was refering to was in
"/usr/local/src/grass61/grass-6.1.cvs_src_snapshot_2006_06_24/visuali
zation/nviz/src".
The README suggests renaming tkInt.h and tkIntDecls.h, not too tricky,
but then it talks about editing togl.c which seems a lot more taxing
to thsoe who don't know what they are donig.
So how do I go about getting nviz to talk with TclTk? I think this
question amounts to "How we should I specify the 'elif' statement in
togl.c?"
I think you can ignore that tkInt.h stuff, red herring.
I am using almost the same setup, Debian/sarge with Tcltk 8.4 and GRASS
6.1 cvs from a week ago. (and it works)
does "nviz -q" from the GRASS command prompt output anything to the
terminal window?
Here's the output. As for the nviz windows, they flash up for a
fraction of a second.
GRASS 6.1.cvs (zhang):~ > nviz -q
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0xffffffff
Serial number of failed request: 191
Current serial number in output stream: 192