[Insight-users] Parse error when wrapping ITK 1.2 in TCL

Parag Chandra pchandra@radonc.unc.edu
Wed, 26 Mar 2003 10:25:05 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0041_01C2F381.F81E9600
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

After seeing the benefits of VTK wrapped in TCL, I decided to wrap ITK =
in TCL. The installation of Cable and GCC_XML went fine, and I am now in =
the middle of building the ITK*TCL libraries from Visual Studio. I =
notice in the Build window that the following error:

In file included from C:/3rdParty/ITK/Code/Common/itkNeighborhood.h:268,
                 from =
C:/3rdParty/ITK/Code/Common/itkConstNeighborhoodIterator.h:29,
                 from =
C:/3rdParty/ITK/Code/Common/itkFiniteDifferenceFunction.h:21,
                 from =
C:/3rdParty/ITK/Code/Common/itkFiniteDifferenceImageFilter.h:21,
                 from =
C:/3rdParty/ITK/Code/Common/itkDenseFiniteDifferenceImageFilter.h:20,
                 from =
C:/3rdParty/ITK/Code/Algorithms/itkCurvatureFlowImageFilter.h:20,
                 from =
C:/3rdParty/ITK/Wrapping/Tcl/Algorithms/wrap_itkCurvatureFlowImageFilter.=
cxx:18:
C:/3rdParty/ITK/Code/Common/itkNeighborhood.txx: In member function =
`std::slice=20
   itk::Neighborhood<TPixel, VDimension, TAllocator>::GetSlice(unsigned =
int)=20
   const':
C:/3rdParty/ITK/Code/Common/itkNeighborhood.txx:137: parse error before =
`>'=20
   token

seems to come up once for each of the ITK*TCL libraries. Yet it doesn't =
seem to be fatal, as I see the appropriate .lib files being written out =
anyway. What does this error mean?

I'm using the following versions of everything:

Tcl: ActiveTcl 8.3.5.0
CMake: 1.6.6
ITK: 1.2.0
GCC_XML: 0.4.2 installer
Cable: from CVS today

Best regards,
-Parag Chandra
------=_NextPart_000_0041_01C2F381.F81E9600
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After seeing the benefits of VTK =
wrapped in TCL, I=20
decided to wrap ITK in TCL. The installation of Cable and GCC_XML went =
fine, and=20
I am now in the middle of building the ITK*TCL libraries from Visual =
Studio. I=20
notice in the Build window that the following error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>In file included from=20
C:/3rdParty/ITK/Code/Common/itkNeighborhood.h:268,<BR>&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
from=20
C:/3rdParty/ITK/Code/Common/itkConstNeighborhoodIterator.h:29,<BR>&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
from=20
C:/3rdParty/ITK/Code/Common/itkFiniteDifferenceFunction.h:21,<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;=20
from=20
C:/3rdParty/ITK/Code/Common/itkFiniteDifferenceImageFilter.h:21,<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
from=20
C:/3rdParty/ITK/Code/Common/itkDenseFiniteDifferenceImageFilter.h:20,<BR>=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
from=20
C:/3rdParty/ITK/Code/Algorithms/itkCurvatureFlowImageFilter.h:20,<BR>&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;=20
from=20
C:/3rdParty/ITK/Wrapping/Tcl/Algorithms/wrap_itkCurvatureFlowImageFilter.=
cxx:18:<BR>C:/3rdParty/ITK/Code/Common/itkNeighborhood.txx:=20
In member function `std::slice <BR>&nbsp;&nbsp; =
itk::Neighborhood&lt;TPixel,=20
VDimension, TAllocator&gt;::GetSlice(unsigned int) <BR>&nbsp;&nbsp;=20
const':<BR>C:/3rdParty/ITK/Code/Common/itkNeighborhood.txx:137: parse =
error=20
before `&gt;' <BR>&nbsp;&nbsp; token<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>seems to come up once for each of the =
ITK*TCL=20
libraries. Yet it doesn't seem to be fatal, as I see the appropriate =
.lib files=20
being written out anyway. What does this error mean?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm using the following versions of=20
everything:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Tcl: ActiveTcl 8.3.5.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>CMake: 1.6.6</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ITK: 1.2.0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>GCC_XML: 0.4.2 installer</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Cable: from CVS today</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Parag =
Chandra</DIV></FONT></BODY></HTML>

------=_NextPart_000_0041_01C2F381.F81E9600--