<!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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm having some problems compiling&nbsp;VTK 
4.2&nbsp;... using CMake 2.0.3 &amp;&nbsp;gcc-3.4.2. I've tried other cmake 
&amp; gcc versions but keep getting the same error as below.&nbsp;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>&nbsp;</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>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;&nbsp; `&lt;' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:37: error: parse 
error before<BR>&nbsp;&nbsp; `&lt;' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In constructor 
`<BR>&nbsp;&nbsp; 
vtkDataArraySelection::vtkDataArraySelection()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:42: 
error: invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31: 
error: forward declaration<BR>&nbsp;&nbsp; of `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:43: 
error: invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32: 
error: forward declaration<BR>&nbsp;&nbsp; of `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: 
In destructor `virtual<BR>&nbsp;&nbsp; 
vtkDataArraySelection::~vtkDataArraySelection()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49: 
warning: possible problem<BR>&nbsp;&nbsp; detected in invocation of delete 
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49: warning: 
invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32: 
warning: forward<BR>&nbsp;&nbsp; declaration of `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:49: 
note: neither the<BR>&nbsp;&nbsp; destructor nor the class-specific operator 
delete will be called, even if<BR>&nbsp;&nbsp; they are declared when the class 
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50: warning: 
possible problem<BR>&nbsp;&nbsp; detected in invocation of delete 
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50: warning: 
invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31: 
warning: forward<BR>&nbsp;&nbsp; declaration of `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:50: 
note: neither the<BR>&nbsp;&nbsp; destructor nor the class-specific operator 
delete will be called, even if<BR>&nbsp;&nbsp; they are declared when the class 
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; vtkDataArraySelection::EnableArray(const 
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error: 
`::vector'<BR>&nbsp;&nbsp; undeclared (first use 
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error: 
`::string'<BR>&nbsp;&nbsp; undeclared (first use 
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error: 
`::iterator'<BR>&nbsp;&nbsp; undeclared (first use 
here)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:63: error: parse 
error before<BR>&nbsp;&nbsp; `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error: `i' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error: (Each 
undeclared<BR>&nbsp;&nbsp; identifier is reported only once for each function it 
appears in.)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:65: error: 
`end' undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:67: error: 
`begin' undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:76: error: 
`push_back'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; vtkDataArraySelection::DisableArray(const 
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:85: error: parse 
error before<BR>&nbsp;&nbsp; `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:87: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:89: error: 
`begin' undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:98: error: 
`push_back'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `int<BR>&nbsp;&nbsp; vtkDataArraySelection::ArrayIsEnabled(const 
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:108: error: parse 
error<BR>&nbsp;&nbsp; before `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:110: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:112: error: 
`begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `int<BR>&nbsp;&nbsp; vtkDataArraySelection::ArrayExists(const 
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:123: error: parse 
error<BR>&nbsp;&nbsp; before `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:125: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; 
vtkDataArraySelection::EnableAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:132: 
error: parse error<BR>&nbsp;&nbsp; before `&gt;' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:133: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; 
vtkDataArraySelection::DisableAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:151: 
error: parse error<BR>&nbsp;&nbsp; before `&gt;' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:152: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `int<BR>&nbsp;&nbsp; 
vtkDataArraySelection::GetNumberOfArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:169: 
error: `size' undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `const<BR>&nbsp;&nbsp; char* 
vtkDataArraySelection::GetArrayName(int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:175: 
error: parse error<BR>&nbsp;&nbsp; before `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:176: error: 
`begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:176: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `int<BR>&nbsp;&nbsp; 
vtkDataArraySelection::GetArraySetting(int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:186: 
error: parse error<BR>&nbsp;&nbsp; before `&gt;' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:187: error: 
`begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:187: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; 
vtkDataArraySelection::RemoveAllArrays()':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:199: 
error: `begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:200: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:200: error: 
`erase'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `int<BR>&nbsp;&nbsp; vtkDataArraySelection::AddArray(const 
char*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:217: error: 
`push_back'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; vtkDataArraySelection::SetArrays(const char* 
const*, int)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:231: error: 
invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31: 
error: forward declaration<BR>&nbsp;&nbsp; of `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:233: 
error: invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32: 
error: forward declaration<BR>&nbsp;&nbsp; of `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:235: 
error: `reserve'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:243: error: 
`push_back'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:247: error: parse 
error<BR>&nbsp;&nbsp; before `=' 
token<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:251: error: `it' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:251: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:253: error: 
`begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259: warning: 
possible<BR>&nbsp;&nbsp; problem detected in invocation of delete 
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259: warning: 
invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:31: 
warning: forward<BR>&nbsp;&nbsp; declaration of `class 
vtkDataArraySelectionArrayNamesType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:259: 
note: neither the<BR>&nbsp;&nbsp; destructor nor the class-specific operator 
delete will be called, even if<BR>&nbsp;&nbsp; they are declared when the class 
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260: warning: 
possible<BR>&nbsp;&nbsp; problem detected in invocation of delete 
operator:<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260: warning: 
invalid use of<BR>&nbsp;&nbsp; undefined type `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.h:32: 
warning: forward<BR>&nbsp;&nbsp; declaration of `class 
vtkDataArraySelectionArraySettingsType'<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:260: 
note: neither the<BR>&nbsp;&nbsp; destructor nor the class-specific operator 
delete will be called, even if<BR>&nbsp;&nbsp; they are declared when the class 
is defined.<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx: In member 
function `void<BR>&nbsp;&nbsp; 
vtkDataArraySelection::CopySelections(vtkDataArraySelection*)':<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:274: 
error: `begin'<BR>&nbsp;&nbsp; undeclared (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:276: error: `end' 
undeclared<BR>&nbsp;&nbsp; (first use this 
function)<BR>/scratch/VTK-4.2/Common/vtkDataArraySelection.cxx:276: error: 
`insert'<BR>&nbsp;&nbsp; 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>&nbsp;</DIV></BODY></HTML>