[Insight-users] itkImageToHistogramFilter.h

mathilde.merle mathilde.merle at laposte.net
Fri Jul 8 11:11:26 EDT 2011


 Both solutions don't work ...

> Message du 08/07/11 16:03
> De : "David Doria"
> A : "mathilde.merle" , "ITK"
> Copie à :
> Objet : Re: [Insight-users] itkImageToHistogramFilter.h
>
>
>
> On Fri, Jul 8, 2011 at 10:59 AM, mathilde.merle  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  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
> 
> David
> 
 




Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110708/b2c9c365/attachment-0001.htm>


More information about the Insight-users mailing list