[Paraview] Error Compiling 2.2.1 on Tru64 (2nd post)
Kent Eschenberg
eschenbe at psc.edu
Mon Aug 15 11:14:58 EDT 2005
Sorry for the duplicate post. I'd like to find a way to fix this that will
stay fixed in future versions. Otherwise I'll have to hack CMake's output.
As always, thanks in advance for any advice.
Kent
======================
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
More information about the ParaView
mailing list