[GRASSLIST:3067] Re: NVIZ2.2 compile error. Missing tkIntDecls.h?

John Gillette JGillette at rfmd.com
Fri Feb 1 18:13:15 EST 2002


I figured something out.

.../grass5.0.0pre3/src.contrib/GMSL/NVIZ2.2/src contains togl.c.
This checks your system for version number of tk and causes some 
inclusions:

togl.c -|--> tkInt8.1.1.h  -->tkIntDecls.h
        |--> tkInt8.2.3.h  -->tkIntDecls.h
        |--> tkInt8.3.h   --->tkIntDecls8.3.h

All the files are in .../NVIZ2.2/src EXCEPT tkIntDecls.h
which doesn't exist.  Therefore, if your system has tk8.1 or
8.2 it will fail to compile NVIZ.  I have 8.1, it looks like 
Paul Kelly has 8.2 and they fail.  I bet the new precompiled
version uses 8.3.

I think that this is a bug in the installation.

I "fixed" it by copying tkIntDecls8.3.h to tkintDecls.h in the
same directory.  Recompiled, it works, I can run NVIZ.
The danger is that the file I created may not be correct for
tk8.1 or 2.

I work on a system for which I am not an administrator.  If you
have your own system, just get tk8.3 and it's a non issue.
 
John Gillette 



More information about the grass-user mailing list