Hi Emmanuel,<br><br>I just build the 3.20 InsightApplications<br>with ITK 3.20 and it build cleanly.<br>(in my laptop with Ubuntu 10.04).<br><br>There is something strange with the <br>mismatch that you are observing.<br>
<br>Can you please verify if you have<br>other versions of the file:<br><br> GLSliceView.h<br><br>lingering on your system ?<br><br><br>try for example:<br><br> locate GLSliceView.h<br><br><br>It is likely that an incompatible<br>
version is being found at compilation<br>time.<br><br><br> Please let us know what you find.<br><br><br> Thanks<br><br><br> Luis<br><br><br><br>-------------------------------------------------------<br>
<div class="gmail_quote">On Wed, Oct 13, 2010 at 7:38 PM, Emmanuel Bitaud <span dir="ltr"><<a href="mailto:emmanuel.bitaud%2Bitk@gmail.com">emmanuel.bitaud+itk@gmail.com</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;">
<span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">Hello everybody,<br><i><span style="font-style: normal;"><br>
I am trying to build the ITK applications, but I have the following error message while compiling :</span></i><div><i><br></i></div><div><i><span style="font-style: normal;"></span>Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkImage2DViewerGUI.o<br>
In file included from /scratch/ebitaud/software/itkapp-bin/Auxiliary/FltkImageViewer/fltkImageViewerGUI.h:9:0,<br></i><blockquote style="margin: 0px 0px 0px 40px; border-style: none; padding: 0px;">
<blockquote style="margin: 0px 0px 0px 40px; border-style: none; padding: 0px;">
<i>from /scratch/ebitaud/software/itkapp-bin/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx:3:</i></blockquote></blockquote><i><br>/scratch/ebitaud/software/ITKApps/Auxiliary/FltkImageViewer/GLSliceView.h:299:1: error: prototype for ‘const typename itk::Image<imType, 3u>::Pointer& itk::GLSliceView<ImagePixelType, OverlayPixelType>::GetInputImage() const’ does not match any in class ‘itk::GLSliceView<ImagePixelType, OverlayPixelType>’<br>
<br><span style="font-style: normal;"><i>/scratch/ebitaud/software/ITKApps/Auxiliary/FltkImageViewer/GLSliceView.h:78:32: error: candidate is: virtual itk::GLSliceView<ImagePixelType, OverlayPixelType>::ImagePointer& itk::GLSliceView<ImagePixelType, OverlayPixelType>::GetInputImage() const<br>
</i><br></span></i></div><div><i><span style="font-style: normal;"><br>I work on a Linux OpenSuse 11.3 machine with the following libraries :<br>fltk v1.1.9<br>ITK v3.20.0<br>ITKApps v3.20.0<br><br>Does anybody know how to fix this error ?</span></i></div>
<div><i><span style="font-style: normal;"><br></span></i></div><div>regards,</div><div><br></div><font color="#888888"><div>Emmanuel</div></font></span>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>