[Insight-users] itkImageToHistogramFilter.h

David Doria daviddoria at gmail.com
Fri Jul 8 10:03:59 EDT 2011


On Fri, Jul 8, 2011 at 10:59 AM, mathilde.merle
<mathilde.merle at laposte.net>wrote:

>
>
> Thanks for the answer,
>
> I use InsightToolkit-3.20.0.
>
> I found the file in the ITK directory, but if I copy it into my current
> directory, I have other errors :
> *error: itkImageToListSampleAdaptor.h: No such file or directory
> error: itkSampleToHistogramFilter.h: No such file or directory
> error: itkDenseFrequencyContainer2.h: No such file or directory
> error: itkImageToHistogramFilter.txx: No such file or directory*
>
> > Message du 08/07/11 15:43
> > De : "David Doria"
> > A : "mathilde.merle"
> > Copie à : "insight-users itk org"
> > Objet : Re: [Insight-users] itkImageToHistogramFilter.h
> >
> >
> >
> >
>
> On Fri, Jul 8, 2011 at 10:35 AM, mathilde.merle <
> mathilde.merle at laposte.net> wrote:
> >
>
>
> >
> Hello all,
> >
> > I have this error :
> >
> > *error: itkImageToHistogramFilter.h: No such file or directory*
> >
> > in the CMakeLists.txt I have :
> >
> > *TARGET_LINK_LIBRARIES(test-ivtk ${ITK_LIBRARIES} ITKStatistics
> ITKBasicFilters ITKCommon ITKIO vtkCommon
> > vtkRendering vtkGraphics vtkHybrid vtkImaging vtkIO vtkFiltering
> vtkWidgets vtkVolumeRendering)*
> >
> > I include in my file :
> > *#include *
> >
> > Do you know how to do ?
> >
> > Thanks
> >
> > Mathilde
> >
>
>
> > Which version of ITK are you using?
> >
> > In git master, it exists here:
> > Modules/Numerics/Statistics/include/itkImageToHistogramFilter.h
> >
> > Also, you should not need anything more than ${ITK_LIBRARIES} for the ITK
> part of your linking line.
> >
> > David
> >
>
>
I'm assuming you have:
FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})

in your CMakeLists.txt?

Also, you could try
*#include "itkImageToHistogramFilter.h"

instead of

**#include <itkImageToHistogramFilter.h>
*
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110708/7990bc20/attachment.htm>


More information about the Insight-users mailing list