Hurra! NVIZ working

Phisan Santitamnont fsvpss at eng.chula.ac.th
Sat Sep 11 00:57:13 EDT 1999


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 at eng.chula.ac.th
http://www.sv.eng.chula.ac.th/Staff/Phisan




More information about the grass-user mailing list