[Insight-users] problems wrapping itk

Felix Schwenk felix.schwenk at nme.at
Thu, 8 Jan 2004 00:38:43 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0019_01C3D57F.C595D640
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi all,
i try to compile itk and cswig with vs .net 2003.
cswig compiles fine, but i allways get errors like this:

------ Build started: Project: ITKCommonTcl, Configuration: Debug Win32
------

Building wrap_itkVersorTransform.xml from
C:/uni/ITKcvs/Wrapping/CSwig/Common/wrap_itkVersorTransform.xml
In file included from
C:/projects/itk/Insight/Utilities/vxl/vcl/iso/vcl_limits.h:6,
                 from
C:/projects/itk/Insight/Utilities/vxl/vcl/vcl_limits.h:12,
                 from
C:/projects/itk/Insight/Code/Common/itkNumericTraits.h:24,
                 from
C:/projects/itk/Insight/Code/Common/itkVector.txx:21,
                 from
C:/projects/itk/Insight/Code/Common/itkVector.h:196,
                 from C:/projects/itk/Insight/Code/Common/itkPoint.h:20,
                 from
C:/projects/itk/Insight/Code/Common/itkTransform.h:21,
                 from
C:/projects/itk/Insight/Code/Common/itkRigid3DTransform.h:21,
                 from
C:/projects/itk/Insight/Code/Common/itkVersorTransform.h:22,
                 from
C:/projects/itk/Insight/Wrapping/CSwig/Common/wrap_itkVersorTransform.cx
x:17:
c:/Programme/Microsoft Visual Studio .NET 2003/Vc7/Include/limits:744:
error: integer
   constant is too large for "long" type
c:/Programme/Microsoft Visual Studio .NET 2003/Vc7/Include/limits:749:
error: integer
   constant is too large for "long" type
c:/Programme/Microsoft Visual Studio .NET 2003/Vc7/Include/limits:802:
error: integer
   constant is too large for "long" type
Project : error PRJ0019: A tool returned an error code from "Building
wrap_itkVersorTransform.xml from
C:/uni/ITKcvs/Wrapping/CSwig/Common/wrap_itkVersorTransform.xml"

what am i doing wrong.

tia,
felix.

------=_NextPart_000_0019_01C3D57F.C595D640
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.4630.0">
<TITLE>problems wrapping itk</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D1 FACE=3D"Courier New">Hi all,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">i try to compile itk and cswig =
with vs .net 2003.</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">cswig compiles fine, but i =
allways get errors like this:</FONT>
</P>

<P><FONT SIZE=3D1 FACE=3D"Courier New">------ Build started: Project: =
ITKCommonTcl, Configuration: Debug Win32 ------</FONT>
</P>

<P><FONT SIZE=3D1 FACE=3D"Courier New">Building =
wrap_itkVersorTransform.xml from&nbsp; =
C:/uni/ITKcvs/Wrapping/CSwig/Common/wrap_itkVersorTransform.xml</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">In file included from =
C:/projects/itk/Insight/Utilities/vxl/vcl/iso/vcl_limits.h:6,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Utilities/vxl/vcl/vcl_limits.h:12,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkNumericTraits.h:24,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkVector.txx:21,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkVector.h:196,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkPoint.h:20,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkTransform.h:21,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkRigid3DTransform.h:21,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Code/Common/itkVersorTransform.h:22,</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; from =
C:/projects/itk/Insight/Wrapping/CSwig/Common/wrap_itkVersorTransform.cxx=
:17:</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">c:/Programme/Microsoft Visual =
Studio .NET 2003/Vc7/Include/limits:744: error: integer</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">&nbsp;&nbsp; constant is too =
large for &quot;long&quot; type</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">c:/Programme/Microsoft Visual =
Studio .NET 2003/Vc7/Include/limits:749: error: integer</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">&nbsp;&nbsp; constant is too =
large for &quot;long&quot; type</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">c:/Programme/Microsoft Visual =
Studio .NET 2003/Vc7/Include/limits:802: error: integer</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">&nbsp;&nbsp; constant is too =
large for &quot;long&quot; type</FONT>

<BR><FONT SIZE=3D1 FACE=3D"Courier New">Project : error PRJ0019: A tool =
returned an error code from &quot;Building wrap_itkVersorTransform.xml =
from&nbsp; =
C:/uni/ITKcvs/Wrapping/CSwig/Common/wrap_itkVersorTransform.xml&quot;</FO=
NT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">what am i doing wrong.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">tia,</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">felix.</FONT>
</P>

</BODY>
</HTML>
------=_NextPart_000_0019_01C3D57F.C595D640--