[Insight-users] itkImageToHistogramFilter.h

David Doria daviddoria at gmail.com
Fri Jul 8 09:42:34 EDT 2011


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 <itkImageToHistogramFilter.h>*
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110708/9e86d99a/attachment.htm>


More information about the Insight-users mailing list