[Paraview] Error Compiling 2.2.1 on Tru64 (2nd post) (fwd)
Kent Eschenberg
eschenbe at psc.edu
Tue Aug 30 10:10:55 EDT 2005
Hi,
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
- - -
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".
More information about the ParaView
mailing list