<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 10:35 AM, mathilde.merle <span dir="ltr"><<a href="mailto:mathilde.merle@laposte.net">mathilde.merle@laposte.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p style="margin: 0pt; padding: 0pt;" align="left"><br></p>Hello all,<br><br>I have this error :<br><br><i>error: itkImageToHistogramFilter.h: No such file or directory</i><br><br>in the CMakeLists.txt I have :<br><br><i>TARGET_LINK_LIBRARIES(test-ivtk ${ITK_LIBRARIES} ITKStatistics ITKBasicFilters ITKCommon ITKIO vtkCommon<br>
vtkRendering vtkGraphics vtkHybrid vtkImaging vtkIO vtkFiltering vtkWidgets vtkVolumeRendering)</i><br><br>I include in my file :<br><i>#include <itkImageToHistogramFilter.h></i><br><br>Do you know how to do ?<br><br>
Thanks<br><font color="#888888"><br>Mathilde</font><br></blockquote><div><br>Which version of ITK are you using?<br><br>In git master, it exists here:<br>Modules/Numerics/Statistics/include/itkImageToHistogramFilter.h<br>
<br>Also, you should not need anything more than ${ITK_LIBRARIES} for the ITK part of your linking line.<br><br>David <br></div></div>