<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm having some problems compiling VTK
4.2 ... using CMake 2.0.3 & gcc-3.4.2. I've tried other cmake
& gcc versions but keep getting the same error as below. There was a
previous issue with finding gl.h but that's solved already by installing
glutg3-dev. Does anyone have any idea what's wrong? Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Andy</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Building object file
vtkDataArrayCollection.o...<BR>Building object file
vtkDataArrayCollectionIterator.o...<BR>Building object file
vtkDataArraySelection.o...<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:36:
error: parse error before<BR> `<'
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:37: error: parse
error before<BR> `<'
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In constructor
`<BR>
vtkDataArraySelection::vtkDataArraySelection()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:42:
error: invalid use of<BR> undefined type `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31:
error: forward declaration<BR> of `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:43:
error: invalid use of<BR> undefined type `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32:
error: forward declaration<BR> of `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:
In destructor `virtual<BR>
vtkDataArraySelection::~vtkDataArraySelection()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49:
warning: possible problem<BR> detected in invocation of delete
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49: warning:
invalid use of<BR> undefined type `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32:
warning: forward<BR> declaration of `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49:
note: neither the<BR> destructor nor the class-specific operator
delete will be called, even if<BR> they are declared when the class
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50: warning:
possible problem<BR> detected in invocation of delete
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50: warning:
invalid use of<BR> undefined type `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31:
warning: forward<BR> declaration of `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50:
note: neither the<BR> destructor nor the class-specific operator
delete will be called, even if<BR> they are declared when the class
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR> vtkDataArraySelection::EnableArray(const
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error:
`::vector'<BR> undeclared (first use
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error:
`::string'<BR> undeclared (first use
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error:
`::iterator'<BR> undeclared (first use
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error: parse
error before<BR> `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error: `i'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error: (Each
undeclared<BR> identifier is reported only once for each function it
appears in.)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error:
`end' undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:67: error:
`begin' undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:76: error:
`push_back'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR> vtkDataArraySelection::DisableArray(const
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:85: error: parse
error before<BR> `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:87: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:89: error:
`begin' undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:98: error:
`push_back'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `int<BR> vtkDataArraySelection::ArrayIsEnabled(const
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:108: error: parse
error<BR> before `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:110: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:112: error:
`begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `int<BR> vtkDataArraySelection::ArrayExists(const
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:123: error: parse
error<BR> before `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:125: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR>
vtkDataArraySelection::EnableAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:132:
error: parse error<BR> before `>'
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:133: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR>
vtkDataArraySelection::DisableAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:151:
error: parse error<BR> before `>'
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:152: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `int<BR>
vtkDataArraySelection::GetNumberOfArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:169:
error: `size' undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `const<BR> char*
vtkDataArraySelection::GetArrayName(int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:175:
error: parse error<BR> before `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:176: error:
`begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:176: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `int<BR>
vtkDataArraySelection::GetArraySetting(int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:186:
error: parse error<BR> before `>'
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:187: error:
`begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:187: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR>
vtkDataArraySelection::RemoveAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:199:
error: `begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:200: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:200: error:
`erase'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `int<BR> vtkDataArraySelection::AddArray(const
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:217: error:
`push_back'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR> vtkDataArraySelection::SetArrays(const char*
const*, int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:231: error:
invalid use of<BR> undefined type `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31:
error: forward declaration<BR> of `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:233:
error: invalid use of<BR> undefined type `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32:
error: forward declaration<BR> of `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:235:
error: `reserve'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:243: error:
`push_back'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:247: error: parse
error<BR> before `='
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:251: error: `it'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:251: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:253: error:
`begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259: warning:
possible<BR> problem detected in invocation of delete
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259: warning:
invalid use of<BR> undefined type `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31:
warning: forward<BR> declaration of `class
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259:
note: neither the<BR> destructor nor the class-specific operator
delete will be called, even if<BR> they are declared when the class
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260: warning:
possible<BR> problem detected in invocation of delete
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260: warning:
invalid use of<BR> undefined type `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32:
warning: forward<BR> declaration of `class
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260:
note: neither the<BR> destructor nor the class-specific operator
delete will be called, even if<BR> they are declared when the class
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member
function `void<BR>
vtkDataArraySelection::CopySelections(vtkDataArraySelection*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:274:
error: `begin'<BR> undeclared (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:276: error: `end'
undeclared<BR> (first use this
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:276: error:
`insert'<BR> undeclared (first use this function)<BR>make[3]: ***
[vtkDataArraySelection.o] Error 1<BR>make[2]: *** [default_target] Error
2<BR>make[1]: *** [default_target_Common] Error 2<BR>make: *** [default_target]
Error 2<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>