[Insight-developers] why can't a file in Modules/Filtering/DiffusionTensorImage/include find itkSpatialObject.h?

Xiaoxiao Liu xiaoxiao.liu at kitware.com
Fri Mar 25 16:49:25 EDT 2011


You are ahead of us. :)
Looks like we don't need to put any instructions for using the modules...
(don't worry, we will still have to do that)


On Fri, Mar 25, 2011 at 4:21 PM, Williams, Norman K <
norman-k-williams at uiowa.edu> wrote:

> Answer my own question: I have to add ITK-SpatialObjects to the itk_module
> macro in Modules/Filtering/DiffusionTensorImage/itk-module.cmake
>
> Bonus fun fact: If you misspell any of the module names in the DEPENDS
> clause of itk_module, CMake throws a bogus warning about your
> build-directory already being in use for ITK.
>
>
>
>
> On 3/25/11 2:47 PM, "Williams, Norman K" <norman-k-williams at uiowa.edu>
> wrote:
>
> >Is there some special mojo involved in getting the
> >Modules/Core/SpatialObjects/include into the include path?
> >I'm modifying itk::DiffusionTensor3DReconstructionImageFilter to take
> >SpatialObjects as masks and the compilation is failing for
> >itkDiffusionTensor3DReconstructionImageFilterTest, saying
> >
> >[ 63%] Building CXX object
> >Modules/Filtering/DiffusionTensorImage/test/CMakeFiles/ITK-DiffusionTensor
> >I
> >mageTestDriver.dir/itkDiffusionTensor3DReconstructionImageFilterTest.cxx.o
> >In file included from
> >ITK/Modules/Filtering/DiffusionTensorImage/test/itkDiffusionTensor3DRecons
> >t
> >ructionImageFilterTest.cxx:18:
> >ITK/Modules/Filtering/DiffusionTensorImage/include/itkDiffusionTensor3DRec
> >o
> >nstructionImageFilter.h:22:30: error: itkSpatialObject.h: No such file or
> >directory
> >In file included from
> >ITK/Modules/Filtering/DiffusionTensorImage/include/itkDiffusionTensor3DRec
> >o
> >nstructionImageFilter.h:324,
> >                 from
> >ITK/Modules/Filtering/DiffusionTensorImage/test/itkDiffusionTensor3DRecons
> >t
> >ructionImageFilterTest.cxx:18:
> >ITK/Modules/Filtering/DiffusionTensorImage/include/itkDiffusionTensor3DRec
> >o
> >nstructionImageFilter.txx:25:39: error: itkImageMaskSpatialObject.h: No
> >such file or directory
> >
> >
> >--
> >Kent Williams norman-k-williams at uiowa.edu
> >
> >
> >
> >
> >
> >
> >________________________________
> >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.
> ________________________________
> _______________________________________________
> 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
>



-- 
---------------------------------------------
*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/20110325/81a3ca46/attachment.htm>


More information about the Insight-developers mailing list