[Insight-users] medial curve extraction compile error

Oleksandr Dzyubak adzyubak at gmail.com
Tue May 20 14:47:57 EDT 2008


Hello,

I just tried to test "Flux drive medial curve extraction" algorithm
published by IJ.

http://insight-journal.org/midas/handle.php?handle=1926/560

I have a Linux box with gcc  version 4.1.2.
When compiling, I am getting error messages below.

/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:84: 

error: 'InputImageDimension' was not declared in this scope
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:84: 

error: 'OutputImageDimension' was not declared in this scope
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:84: 

error: template argument 1 is invalid
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:84: 

error: template argument 2 is invalid
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:88: 

error: to refer to a type member of a template parameter, use 'typename
TInputVectorPixelType::ValueType'
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:90: 

error: 'InputImageDimension' was not declared in this scope
/home/dzyubak/Test/MedialCurve_IJCv20/itkAverageOutwardFluxImageFilter.h:90: 

error: template argument 2 is invalid
make[2]: *** [CMakeFiles/itkMedialCurveTest.dir/itkMedialCurveTest.o]
Error 1
make[1]: *** [CMakeFiles/itkMedialCurveTest.dir/all] Error 2
make: *** [all] Error 2

How can I fix that?

Thanks,
Alex



More information about the Insight-users mailing list