[Insight-developers] ITK Modularization transition pushed

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Thu Mar 10 16:48:41 EST 2011


Hi Hans,
The CMake variable "ITK_USE_REVIEW" is not defined in the modularized
version.
We might want to clean up all the places where it is used to avoid
introducing extra dependency of ITK-Review module due to the usage of a
single class.
Will be working on it.



On Thu, Mar 10, 2011 at 1:39 PM, Johnson, Hans J <hans-johnson at uiowa.edu>wrote:

> FYI:  BUILD ERROR WITH USE_REVIEW=ON
>
>
> [ 94%] Building CXX object
> ITK/Segmentation/RegionGrowing/test/CMakeFiles/ITK-RegionGrowingTestDriver.
> dir/itkRegionGrowingHeaderTest.cxx.o
> In file included from
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/test
> /itkRegionGrowingHeaderTest.cxx:24:
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx:27:66: error:
> itkShapedFloodFilledImageFunctionConditionalIterator.h: No such file or
> directory
> In file included from
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/test
> /itkRegionGrowingHeaderTest.cxx:24:
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx: In member function Œvoid
> itk::ConnectedThresholdImageFilter<TInputImage,
> TOutputImage>::GenerateData()¹:
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx:311: error: expected initializer
> before Œ<¹ token
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx:312: error: ŒIteratorType¹ was
> not declared in this scope
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx:312: error: expected `;' before
> Œit¹
> /raid0/homes/hjohnson/Dashboard/src/ITK/ITK/Segmentation/RegionGrowing/incl
> ude/itkConnectedThresholdImageFilter.txx:313: error: Œit¹ was not declared
> in this scope
> make[2]: ***
> [ITK/Segmentation/RegionGrowing/test/CMakeFiles/ITK-RegionGrowingTestDriver
> .dir/itkRegionGrowingHeaderTest.cxx.o] Error 1
> make[1]: ***
> [ITK/Segmentation/RegionGrowing/test/CMakeFiles/ITK-RegionGrowingTestDriver
> .dir/all] Error 2
> make: *** [all] Error 2
> [johnsonhj at neuron ITK-gcc-4.2]$ find ../ITK/ITK/ -name
> "itkShapedFloodFill*"
> ../ITK/ITK//Nonunit/Review/include/itkShapedFloodFilledFunctionConditionalC
> onstIterator.h
> ../ITK/ITK//Nonunit/Review/include/itkShapedFloodFilledFunctionConditionalC
> onstIterator.txx
> ../ITK/ITK//Nonunit/Review/include/itkShapedFloodFilledImageFunctionConditi
> onalConstIterator.h
> ../ITK/ITK//Nonunit/Review/include/itkShapedFloodFilledImageFunctionConditi
> onalConstIterator.txx
> ../ITK/ITK//Nonunit/Review/include/itkShapedFloodFilledImageFunctionConditi
> onalIterator.h
> ../ITK/ITK//Nonunit/Review/test/itkShapedFloodFilledImageFunctionConditiona
> lConstIteratorTest1.cxx
> ../ITK/ITK//Nonunit/Review/test/itkShapedFloodFilledImageFunctionConditiona
> lConstIteratorTest2.cxx
> ../ITK/ITK//Nonunit/Review/test/itkShapedFloodFilledImageFunctionConditiona
> lConstIteratorTest3.cxx
>
>
>
>
> --
> Hans J. Johnson, Ph.D.
> hans-johnson at uiowa.edu
> Assistant Professor of Psychiatry
> University of Iowa Carver College of Medicine
> W278 GH, 200 Hawkins Drive
>
> Iowa City, Iowa 52242
> Phone:  319-353-8587
>
>
>
>
>
>
>
> -----Original Message-----
> From: Kent Williams <norman-k-williams at uiowa.edu>
> Date: Thu, 10 Mar 2011 18:35:05 +0000
> To: Xiaoxiao Liu <xiaoxiao.liu at kitware.com>
> Cc: ITK <insight-developers at itk.org>
> Subject: Re: [Insight-developers] ITK Modularization transition pushed
>
> Once I get things configuring properly I run into this error when building
> with BUILD_SHARED_LIB:BOOL=On
>
> Linking CXX shared library ../../../../lib/libITK-Common-4.0.dylib
> ld: duplicate symbol
> itk::SmartPointerForwardReference<itk::ProcessObject>::SmartPointerForwardR
> eference()in CMakeFiles/ITK-Common.dir/itkDataObject.cxx.o and
> CMakeFiles/ITK-Common.dir/itkSmartPointerForwardReferenceProcessObject.cxx.
> o
> collect2: ld returned 1 exit status
>
>
>
> This is on OS X 10.6 with GCC 4.2 if that makes a difference.
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged.  If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
> Please reply to the sender that you have received the message in error,
> then delete it.  Thank you.
> ________________________________
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged.  If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
>  Please reply to the sender that you have received the message in error,
> then delete it.  Thank you.
> ________________________________
>



-- 
---------------------------------------------
*Xiaoxiao Liu*, Ph.D.
R & D Engineer
Kitware Inc <http://www.kitware.com/>.
Clifton Park, NY
Phone: (518) 881-4924  or  (518) 371-3971 x124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110310/262150ea/attachment.htm>


More information about the Insight-developers mailing list