Hurra! NVIZ working

Dear Jaro,

good news of the day: NVIZ is working here!
I switched from KDE windows manager to fvwm2,
not I get the menues.

Congratulations to you for your porting work!

Today I publish the Linux package of GRASS 5 beta3 (g)
containing NVIZ and ogl3d (ported to Linux by Eliot Cline).

Best regards

Markus

Dear Grass Users

I have problem with setting my default region. Even though I have
already set my DEFAULT_WIND, grass still give error message
"ERROR: Default region not set". I have also check the permission
and it is ok. FYI, I am using grass4.2 on my sun workstation. I have
tried to run r.answers but I always got this error message. So, I have
to overcome this problem of setting up default region first

Hope that anybody can suggest to me how to solve this problem.

Thanks in advance for any help.

Cheers

Kamarul
Dept. of Civil Engr
UTM
07-5576160 ext 3026

Hello,
Thanks to Markus, Jaro and Eliot for making
the linux version of NVIZ and ogl3d available.
Regarding compilation of NVIZ2.2 and ogl3d.
I am now trying to compile NVIZ2.2 on my
Linux machine and I get the following error
-----------------------------------

tkBind.c:510: `MouseWheelEvent' undeclared here (not in a function)
tkBind.c:510: initializer element for `eventArray[24].type' is not

constant

tkBind.c:510: `MouseWheelMask' undeclared here (not in a function)
tkBind.c:510: initializer element for `eventArray[24].eventMask' is

not constant

tkBind.c:585: warning: excess elements in array initializer after

`flagArray'

tkBind.c: In function `HandleEventGenerate':
tkBind.c:3192: `MouseWheelEvent' undeclared (first use this function)
tkBind.c:3192: (Each undeclared identifier is reported only once
tkBind.c:3192: for each function it appears in.)
make: *** [OBJ.i686-linux-elf/tkBind.o] Error 1

-----------------------------------------
ogl3d compiles alright but when I execute the program
and give the raster file name etc. it ends up with an
error message which reads as follows;
-----------------

Error: GLwMDrawingArea: requested visual not supported

------------------
Any leads as to what may be wrong.

Thanks in advance

---------
Venkatesh Raghavan
Osaka City University

Markus Neteler wrote:

Dear Jaro,

good news of the day: NVIZ is working here!
I switched from KDE windows manager to fvwm2,
not I get the menues.

Congratulations to you for your porting work!

Today I publish the Linux package of GRASS 5 beta3 (g)
containing NVIZ and ogl3d (ported to Linux by Eliot Cline).

Best regards

Markus

Dera all,

Venkatesh Raghavan wrote:

Hello,
Thanks to Markus, Jaro and Eliot for making
the linux version of NVIZ and ogl3d available.
Regarding compilation of NVIZ2.2 and ogl3d.
I am now trying to compile NVIZ2.2 on my
Linux machine and I get the following error
-----------------------------------
> tkBind.c:510: `MouseWheelEvent' undeclared here (not in a function)
> tkBind.c:510: initializer element for `eventArray[24].type' is not
constant
> tkBind.c:510: `MouseWheelMask' undeclared here (not in a function)
> tkBind.c:510: initializer element for `eventArray[24].eventMask' is

It use Redhat-6.0 which include
'tk-8.0.4-29' package.

MouseWheel is supported in tk
as defined in
tk.h

#define MouseWheelEvent (LASTEvent+3)
#define MouseWheelMask (1L<<28)

HTH
Rgds,
--
Phisan Santitamnont, Dr.-Ing.
Survey Engineering Department
Chulalongkorn University
Pathumwan Rd, Bangkok 10330
Tel. +66 (2) 218 66 61
Fax. +66 (2) 218 66 53
mailto:fsvpss@eng.chula.ac.th
http://www.sv.eng.chula.ac.th/Staff/Phisan

Dear Grass Users

I have problem with setting my default region. Even though I have
already set my DEFAULT_WIND, grass still give error message
"ERROR: Default region not set". I have also check the permission
and it is ok. FYI, I am using grass4.2 on my sun workstation. I have
tried to run r.answers but I always got this error message. So, I have
to overcome this problem of setting up default region first

Hope that anybody can suggest to me how to solve this problem.

Thanks in advance for any help.

Cheers

Kamarul
Dept. of Civil Engr
UTM
07-5576160 ext 3026

Hello Kamarul

On Sep 13, 9:34am, Kamarul Azlan Mohd Nasir wrote:

I have problem with setting my default region. Even though I have
already set my DEFAULT_WIND, grass still give error message
"ERROR: Default region not set". I have also check the permission
and it is ok. FYI, I am using grass4.2 on my sun workstation. I have
tried to run r.answers but I always got this error message. So, I have
to overcome this problem of setting up default region first

Try using the g.region command. It will give you a list of different ways to
set the region and one of them is by using the default region. This is the
option that sets the region based on DEFAULT_WIND.

Hope this helps.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

Hi Justin,

Actually, I have tried that also. When I used g.region command, I will
receive the same error meesage 'Default region not set'. Are there
any suggestions on how to correct this problem?

Thanks in advance for any help.

Try using the g.region command. It will give you a list of different ways
to set the region and one of them is by using the default region. This is
the option that sets the region based on DEFAULT_WIND.

Hope this helps.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

Kamarul
Dept. of Civil Engr
UTM
07-5576160 ext 3026

Hi Kamarul

On Sep 13, 6:05pm, Kamarul Azlan Mohd Nasir wrote:

Actually, I have tried that also. When I used g.region command, I will
receive the same error meesage 'Default region not set'. Are there
any suggestions on how to correct this problem?

> Try using the g.region command.

Hmmm. Is the DEFAULT_WIND file located in the PERMANENT mapset? I seem to
recall that Grass likes to have a PERMANENT mapset defined for each location
with a DEFAULT_WIND file stored there, but I'm not sure. Also, did you check to
see if Grass is functioning properly with one of the sample datasets (eg
spearfish)? If not, then you can get the datasets from the Grass Euopean site:

http://www.geog.uni-hannover.de/grass/

or one if its mirror sites. Just follow the link for the "Sample data page" off
the table on the home page.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

Hi Justin

Thanks for tips. Actually when I changed the mapsets name to
PERMANENT as to your suggestion, then only it works. I wonder
whether we make it a little bit more flexible where it take different
name of mapsets.

Thanks again for your kind help. I really appreciate it.

Cheers

Hmmm. Is the DEFAULT_WIND file located in the PERMANENT mapset? I seem to
recall that Grass likes to have a PERMANENT mapset defined for each
location with a DEFAULT_WIND file stored there, but I'm not sure. Also,
did you check to see if Grass is functioning properly with one of the
sample datasets (eg spearfish)? If not, then you can get the datasets from
the Grass Euopean site:

http://www.geog.uni-hannover.de/grass/

or one if its mirror sites. Just follow the link for the "Sample data
page" off the table on the home page.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

Kamarul
Dept. of Civil Engr
UTM
07-5576160 ext 3026