[Insight-users] FastMarching problem in Python wrapping
Rodrigo Trujillo
Rodrigo Trujillo" <rodrigo.trujillo at cenpra.gov.br
Fri, 5 Mar 2004 01:30:45 -0300
This is a multi-part message in MIME format.
------=_NextPart_000_012F_01C40251.7B1B4DD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi Charl,
I was running Insight with tag "ITK-1-6", then I updated
"wrap_ITKCommon.cxx" for revision 1.15 and
" wrap_itkLevelSet.cxx" for revision 1.2 , tried to build, but it generates
the attached error.
I tried to solve updating the folder "Wrapping", but its generates other
errors.
Can you help me again ?
Thanks
Rodrigo Trujillo
----- Original Message -----
From: "Charl P. Botha" <c.p.botha at ewi.tudelft.nl>
To: "Rodrigo Trujillo" <rodrigo.trujillo at cenpra.gov.br>
Cc: "ITK Users" <insight-users at itk.org>
Sent: Thursday, March 04, 2004 7:06 AM
Subject: Re: [Insight-users] FastMarching problem in Python wrapping
> On Wed, 2004-03-03 at 20:21, Rodrigo Trujillo wrote:
> > I'm studing FastMarchingImageFilter and trying to run the example in
> > ITK Software Guide (August 21,2003) with Python.
> >
> > I need to set Seeds ( fastMarching->SetTrialPoints(seeds) ).
> > This function requires
> > a type
> > " _p_itk__VectorContainerTunsigned_int_itk__LevelSetNodeTfloat_3_t_t
> > ",
> > but i didn't find it in python wrapping. I didn't find "NodeContainer"
> > and "NodeType".
> >
> >
> > What i need to do ? Can someone help me ?
>
> It was a wrapping bug. I fixed it in ITK CVS on 2004-02-26. If you're
> running a stable release, apply the two attached patches in the
> directory Insight/Wrapping/CSwig/Common and rebuild.
>
> --
> charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
>
>
------=_NextPart_000_012F_01C40251.7B1B4DD0
Content-Type: text/plain;
name="erro.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="erro.txt"
--------------------Configuration: _ITKCommonPython - Win32 =
Release--------------------
Building wrap_ITKPyUtilsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKPyUt=
ilsPython.cxx.rule
Building wrap_itkVersorTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkVers=
orTransformPython.cxx.rule
Building wrap_itkVectorPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkVect=
orPython.cxx.rule
Building wrap_itkTranslationTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkTran=
slationTransformPython.cxx.rule
Building wrap_itkTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkTran=
sformPython.cxx.rule
Building wrap_itkScaleTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkScal=
eTransformPython.cxx.rule
Building wrap_itkSizePython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkSize=
Python.cxx.rule
Building wrap_itkPointPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkPoin=
tPython.cxx.rule
Building wrap_itkLevelSetPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkLeve=
lSetPython.cxx.rule
Building wrap_itkIndexPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkInde=
xPython.cxx.rule
Building wrap_itkImagePython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkImag=
ePython.cxx.rule
Building wrap_itkIdentityTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkIden=
tityTransformPython.cxx.rule
Building wrap_itkFixedArrayPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkFixe=
dArrayPython.cxx.rule
Building wrap_itkFiniteDifferenceImageFilterPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkFini=
teDifferenceImageFilterPython.cxx.rule
Building wrap_itkEventObjectPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkEven=
tObjectPython.cxx.rule
Building wrap_itkDifferenceImageFilterPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkDiff=
erenceImageFilterPython.cxx.rule
Building wrap_itkDenseFiniteDifferenceImageFilterPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkDens=
eFiniteDifferenceImageFilterPython.cxx.rule
Building wrap_itkContinuousIndexPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkCont=
inuousIndexPython.cxx.rule
Building wrap_itkBSplineDeformableTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkBSpl=
ineDeformableTransformPython.cxx.rule
Building wrap_itkAzimuthElevationToCartesianTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkAzim=
uthElevationToCartesianTransformPython.cxx.rule
Building wrap_itkAffineTransformPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkAffi=
neTransformPython.cxx.rule
Building wrap_itkArrayPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkArra=
yPython.cxx.rule
Building wrap_ITKSimilarityTransformsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKSimi=
larityTransformsPython.cxx.rule
Building wrap_ITKRigidTransformsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKRigi=
dTransformsPython.cxx.rule
Building wrap_ITKRegionsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKRegi=
onsPython.cxx.rule
Building wrap_ITKKernelDeformableTransformsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKKern=
elDeformableTransformsPython.cxx.rule
Building wrap_ITKInterpolatorsPython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKInte=
rpolatorsPython.cxx.rule
Building wrap_ITKFilterBasePython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKFilt=
erBasePython.cxx.rule
Building wrap_ITKCommonBasePython.cxx from =
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKComm=
onBasePython.cxx.rule
Compiling...
wrap_ITKCommonBasePython.cxx
wrap_ITKFilterBasePython.cxx
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_ITKFilt=
erBasePython.cxx(67158) : warning C4049: compiler limit : terminating =
line number emission
wrap_ITKInterpolatorsPython.cxx
wrap_ITKKernelDeformableTransformsPython.cxx
wrap_ITKRegionsPython.cxx
wrap_ITKRigidTransformsPython.cxx
wrap_ITKSimilarityTransformsPython.cxx
wrap_itkArrayPython.cxx
wrap_itkAffineTransformPython.cxx
wrap_itkAzimuthElevationToCartesianTransformPython.cxx
wrap_itkBSplineDeformableTransformPython.cxx
wrap_itkContinuousIndexPython.cxx
wrap_itkDenseFiniteDifferenceImageFilterPython.cxx
wrap_itkDifferenceImageFilterPython.cxx
wrap_itkEventObjectPython.cxx
wrap_itkFiniteDifferenceImageFilterPython.cxx
wrap_itkFixedArrayPython.cxx
wrap_itkIdentityTransformPython.cxx
wrap_itkImagePython.cxx
C:\Compilacao\InsightToolkit-1.6.0_BIN\Wrapping\CSwig\Common\wrap_itkImag=
ePython.cxx(65537) : warning C4049: compiler limit : terminating line =
number emission
wrap_itkIndexPython.cxx
Generating Code...
Compiling...
wrap_itkLevelSetPython.cxx
wrap_itkPointPython.cxx
wrap_itkSizePython.cxx
wrap_itkScaleTransformPython.cxx
wrap_itkTransformPython.cxx
wrap_itkTranslationTransformPython.cxx
wrap_itkVectorPython.cxx
wrap_itkVersorTransformPython.cxx
wrap_ITKCommonPythonPython.cxx
wrap_ITKPyUtilsPython.cxx
Generating Code...
Linking...
Creating library =
C:\Compilacao\InsightToolkit-1.6.0_BIN\bin\Release/_ITKCommonPython.lib =
and object =
C:\Compilacao\InsightToolkit-1.6.0_BIN\bin\Release/_ITKCommonPython.exp
wrap_ITKCommonPythonPython.obj : error LNK2001: unresolved external =
symbol _init_itkVersorTransformGroup
wrap_ITKCommonPythonPython.obj : error LNK2001: unresolved external =
symbol _init_itkImageToImageFilter
wrap_ITKCommonPythonPython.obj : error LNK2001: unresolved external =
symbol _init_itkImageSource
wrap_ITKCommonPythonPython.obj : error LNK2001: unresolved external =
symbol _init_itkImage_3D
wrap_ITKCommonPythonPython.obj : error LNK2001: unresolved external =
symbol _init_itkImage_2D
C:\Compilacao\InsightToolkit-1.6.0_BIN\bin\Release/_ITKCommonPython.dll =
: fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
ALL_BUILD - 6 error(s), 2 warning(s)
------=_NextPart_000_012F_01C40251.7B1B4DD0--