[Paraview] Error Compiling 2.2.1 on Tru64 (2nd post) (fwd)

Amy Squillacote amy.squillacote at kitware.com
Tue Aug 30 15:29:52 EDT 2005

This seems to be the same issue as bug #2103 in the bug tracker 
(http://www.paraview.org/Bug/bug.php?op=show&bugid=2103).  This bug 
has been fixed in the main CVS tree for ParaView and on the 2.2 
branch, so it will be corrected in the 2.2.2 release.

- Amy

At 10:10 AM 8/30/2005, Kent Eschenberg wrote:
>The bug described below on 8/8/2005 remains a problem. I've hacked 
>the makefiles to force a workaround but would like to hear from the 
>CMake folks on how to put in a fix that works on future versions too. Thanks!
>- - -
>Kent Eschenberg   eschenbe at psc.edu   (412)268-6829
>Scientific Visualization Specialist
>Pittsburgh Supercomputing Center
>I'm getting an error when compiling 2.2.1 that seems to be caused by the
>generated file ncconfig.h. Here's the relevant pieces of code:
>... VTK/Utilities/vtknetcdf/attr.c
>   #include "nc.h"
>      #include "ncconfig.h"
>         ...
>         /* Define to `unsigned char'  if system doesn't define.  */
>         #define uchar unsigned char
>      #include <sys/types.h>
>         ...
>         typedef unsigned char uchar_t;
>         ...
>         typedef uchar_t uchar;
>         ................1
>         Error: In this declaration, "typedef" cannot be
>         combined with "unsigned". (typeconflict)
>It seems that cmake doesn't see the definition of uchar in the system file
>and so it adds its own definition during the generation of ncconfig.h.
>This is on our Compaq Alphaserver running Tru64 with 750 nodes. This might
>also be relevant: "uname -a" returns "OSF1 iam764 V5.1 2650 alpha".
>ParaView mailing list
>ParaView at paraview.org

More information about the ParaView mailing list