[Paraview] Error Compiling 2.2.1 on Tru64

Kent Eschenberg eschenbe at psc.edu
Mon Aug 8 12:28:56 EDT 2005


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

Suggestions? Thanks in advance!

Kent
- - -
Kent Eschenberg   eschenbe at psc.edu   (412)268-6829
Scientific Visualization Specialist
Pittsburgh Supercomputing Center

There are only 10 types of people in the world.
Those who understand binary and those who don't.



More information about the ParaView mailing list