[Paraview] Compile Error in Xdmf2/vtk with ICC on Linux 64

Mike Jackson imikejackson at gmail.com
Mon Mar 24 11:54:58 EDT 2008


I am trying to compile ParaView 3 (CVS HEAD) on a Linux 64 (AMD64)
system using ICC/ICPC version 10.1.x and I am getting the following
compile error:

/export/shared/Kitware-CVS/ParaView3/Utilities/Xdmf2/vtk/vtkXdmfWriter.cxx(831):
error: more than one instance of overloaded function
"XdmfArray::SetValue" matches the argument list:
            function "XdmfArray::SetValue(XdmfInt64={long},
XdmfUInt8={unsigned char})"
            function "XdmfArray::SetValue(XdmfInt64={long},
XdmfUInt16={unsigned short})"
            function "XdmfArray::SetValue(XdmfInt64={long},
XdmfUInt32={unsigned int})"
            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt8={char})"
            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt16={short})"
            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt32={int})"
            function "XdmfArray::SetValue(XdmfInt64={long}, XdmfInt64={long})"
            function "XdmfArray::SetValue(XdmfInt64={long},
XdmfFloat32={float})"
            function "XdmfArray::SetValue(XdmfInt64={long},
XdmfFloat64={double})"
            argument types are: (vtkIdType, long long)
            object type is: XdmfArray
                  Data.SetValue(jj, val);
                       ^
          detected during instantiation of "vtkIdType={long long}
vtkXdmfWriterWriteXMLScalar(vtkXdmfWriter *, std::ostream &, AType *,
vtkDataSet *, int *, const char *, const char *, const char *, const
char *, NType, int, int, int *, int) [with AType=vtkIdTypeArray,
NType=long long]" at line 962

/export/shared/Kitware-CVS/ParaView3/Utilities/Xdmf2/vtk/vtkXdmfWriter.cxx(842):
error: no instance of overloaded function "XdmfArray::SetValues"
matches the argument list
            argument types are: (int, vtkIdType *, long long)
            object type is: XdmfArray
        Data.SetValues(0, array->GetPointer(0),
array->GetNumberOfTuples() * array->GetNumberOfComponents());
             ^
          detected during instantiation of "vtkIdType={long long}
vtkXdmfWriterWriteXMLScalar(vtkXdmfWriter *, std::ostream &, AType *,
vtkDataSet *, int *, const char *, const char *, const char *, const
char *, NType, int, int, int *, int) [with AType=vtkIdTypeArray,
NType=long long]" at line 962


Anyone have any ideas? The method is question is a templated method
and I am not understanding what an "NType" is supposed to represent.

Thanks
-- 
Mike Jackson
imikejackson _at_ gee-mail dot com


More information about the ParaView mailing list