[Insight-developers] WrapITK build errors

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Nov 17 13:24:36 EST 2010


This one is because of a bug in the build process in wrapitk. Some  
files are not (yet) regenerated when their source is modified.
Just

   cd Libraries/Review
   make clean
   cd -

and rerun make as usual.

Gaëtan


Le 17 nov. 10 à 18:38, Michal Suchanek a écrit :

> 2010/11/17 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>
>> Le 17 nov. 10 à 15:00, Michal Suchanek a écrit :
>>
>>> 2010/11/16 Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr>:
>>>>
>>>> Hi Michal,
>>>>
>>>> I've proposed a fix for that problem
>>>>
>>>>  http://review.source.kitware.com/#change,369
>>>>
>>>> It would be nice if you can test it and report the result in the  
>>>> link
>>>> above.
>>>>
>>>> Gaëtan
>>>
>>> The patch posted there fixes this issue but there is another issue
>>> which prevents WrapITK from building:
>>>
>>
>> The two following changes should fix the last problems with wrapitk
>>
>>  http://review.source.kitware.com/#change,376
>>  http://review.source.kitware.com/#change,377
>>
>> Submitted to gerrit just a few minutes ago!
>>
>
> It's RankHistogram this time:
>
> cd /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/Segm
> entationValidation && /usr/bin/g++   -DSegmentationValidationPython_E
> XPORTS -DSWIG_GLOBAL -g -O2 -g -Wall -O2  -Wno-deprecated  -ftemplate
> -depth-50 -Wall -Wno-deprecated -fPIC -I/scratch/itk/wrapitk-read-onl
> y/Libraries/SegmentationValidation -I/usr/include/InsightToolkit-4.0/
> Review -I/usr/include/InsightToolkit-4.0/gdcm/Source/DataDictionary -
> I/usr/include/InsightToolkit-4.0/gdcm/Source/MediaStorageAndFileForma
> t -I/usr/include/InsightToolkit-4.0/gdcm/Source/DataStructureAndEncod
> ingDefinition -I/usr/include/InsightToolkit-4.0/gdcm/Source/Common -I
> /usr/include/InsightToolkit-4.0/Utilities/vxl/core -I/usr/include/Ins
> ightToolkit-4.0/Utilities/vxl/vcl -I/usr/include/InsightToolkit-4.0/U
> tilities/vxl/v3p/netlib -I/usr/include/InsightToolkit-4.0/Utilities -
> I/usr/include/InsightToolkit-4.0/Utilities/itkExtHdrs -I/usr/include/
> InsightToolkit-4.0/Utilities/nifti/znzlib -I/usr/include/InsightToolk
> it-4.0/Utilities/nifti/niftilib -I/usr/include/InsightToolkit-4.0/Uti
> lities/expat -I/usr/include/InsightToolkit-4.0/Utilities/DICOMParser
> -I/usr/include/InsightToolkit-4.0/Utilities/NrrdIO -I/usr/include/Ins
> ightToolkit-4.0/Utilities/MetaIO
> -I/usr/include/InsightToolkit-4.0/SpatialObject
> -I/usr/include/InsightToolkit-4.0/Numerics/NeuralNetworks
> -I/usr/include/InsightToolkit-4.0/Numerics/FEM -I/usr/include/Insigh
> tToolkit-4.0/IO -I/usr/include/InsightToolkit-4.0/Numerics -I/usr/inc
> lude/InsightToolkit-4.0/Common -I/usr/include/InsightToolkit-4.0/Basi
> cFilters -I/usr/include/InsightToolkit-4.0/Algorithms -I/usr/include/
> InsightToolkit-4.0/Numerics/Statistics -I/usr/include/InsightToolkit-
> 4.0 -I/usr/include/gdcm-2.0 -I/usr/include/vtk-5.6 -I/usr/lib/openmpi
> /include -I/usr/lib/openmpi/include/openmpi -I/usr/include/tcl8.5 -I/
> usr/include/python2.6 -I/usr/lib/jvm/default-java/include -I/usr/incl
> ude/libxml2 -I/usr/include/freetype2 -I/scratch/itk/wrapitk-read-only
> /obj-x86_64-linux-gnu/Typedefs -I/usr/lib/jvm/java-6-openjdk/include
>  -fno-strict-aliasing -o CMakeFiles/SegmentationValidationPython.dir
> /wrap_itkContourDirectedMeanDistanceImageFilterPython.o -c
> /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/ 
> SegmentationValid
> ation/wrap_itkContourDirectedMeanDistanceImageFilterPython.cpp
> /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/Review/
> wrap_itkMaskedRankImageFilterPython.cpp: In function ‘PyObject* _wrap
> _itkMaskedRankImageFilterIUS2IUC2IUS2SE2_Superclass_ConfigureHistogra
> m(PyObject*, PyObject*)’:
> /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/Review/
> wrap_itkMaskedRankImageFilterPython.cpp:11401: error: ‘RankHistogram’
> is not a member of ‘itk’
> /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/Review/
> wrap_itkMaskedRankImageFilterPython.cpp:11401: error: expected
> primary-expression before ‘unsigned’
> /scratch/itk/wrapitk-read-only/obj-x86_64-linux-gnu/Libraries/Review
>
> Thanks
>
> Michal

-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 203 bytes
Desc: Ceci est une signature ?lectronique PGP
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20101117/e204fb92/attachment.pgp>


More information about the Insight-developers mailing list