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

Hi John,

On Fri, Feb 01, 2002 at 06:13:15PM -0500, John Gillette wrote:

I figured something out.

thanks for pointing out this problem.

.../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.

o.k., I have added the missing files. Now we have:

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

Hope that's fine now.

Cheers

Markus Neteler