[Insight-developers] Problems building ITKCommon (and solution)

Parag Chandra chandra@cs.unc.edu
Thu, 29 Mar 2001 17:06:14 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_00A1_01C0B872.901658A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I just did a checkout around 3 PM, and ITKCommon would not build on VC++ =
(or any other platform I suspect). I made the following changes to my =
local copy and that seems to fix it, but I am hesitant to check in the =
changes since I don't "own" these files. Is anyone else experiencing =
this problem? Can the author(s) of these files make the changes, verify =
it doesn't mess up anything else in their code, and then commit them to =
the repository? Thanks.

To itkAffineTransform.h:

#include "vnl/vnl_vector_fixed.h"

To itkTransformation.h:

change method definition from: virtual PointType Transform(PointType &) =
=3D 0;

to:   virtual PointType Transform(const PointType &) const =3D 0;

-Parag

------=_NextPart_000_00A1_01C0B872.901658A0
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 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>I just did a checkout around 3 PM, and =
ITKCommon=20
would not build on VC++ (or any other platform I suspect). I made the =
following=20
changes to my local copy and that seems to fix it, but I am hesitant to =
check in=20
the changes since I don't "own" these files. Is anyone else experiencing =
this=20
problem? Can the author(s) of these files make the changes, verify it =
doesn't=20
mess up anything else in their code, and then commit them to the =
repository?=20
Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>To itkAffineTransform.h:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial size=3D2>#include =
"vnl/vnl_vector_fixed.h"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2>To=20
itkTransformation.h:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>change method definition from: =
</FONT><FONT=20
face=3DArial size=3D2>virtual PointType Transform(PointType =
&amp;)&nbsp;=3D=20
0;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>to: &nbsp; virtual PointType =
Transform(const=20
PointType &amp;) const =3D =
0;<BR><BR>-Parag</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_00A1_01C0B872.901658A0--