[Insight-users] ITK applications compilation error

Luis Ibanez luis.ibanez at kitware.com
Sat Oct 16 21:38:16 EDT 2010


Hi Emmanuel,

I just build the 3.20 InsightApplications
with ITK 3.20 and it build cleanly.
(in my laptop with Ubuntu 10.04).

There is something strange with the
mismatch that you are observing.

Can you please verify if you have
other versions of the file:

            GLSliceView.h

lingering on your system ?


try for example:

        locate    GLSliceView.h


It is likely that an incompatible
version is being found at compilation
time.


    Please let us know what you find.


         Thanks


               Luis



-------------------------------------------------------
On Wed, Oct 13, 2010 at 7:38 PM, Emmanuel Bitaud <
emmanuel.bitaud+itk at gmail.com <emmanuel.bitaud%2Bitk at gmail.com>> wrote:

> Hello everybody,
> *
> I am trying to build the ITK applications, but I have the following error
> message while compiling :*
> *
> *
> *Building CXX object
> Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkImage2DViewerGUI.o
> In file included from
> /scratch/ebitaud/software/itkapp-bin/Auxiliary/FltkImageViewer/fltkImageViewerGUI.h:9:0,
> *
>
>  *from
> /scratch/ebitaud/software/itkapp-bin/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx:3:
> *
>
> *
> /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>’
>
> /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
>
> *
> *
> I work on a Linux OpenSuse 11.3 machine with the following libraries :
> fltk v1.1.9
> ITK v3.20.0
> ITKApps v3.20.0
>
> Does anybody know how to fix this error ?*
> *
> *
> regards,
>
> Emmanuel
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101016/70a7cc6b/attachment.htm>


More information about the Insight-users mailing list