[Insight-users] problem building on linux

Silvester Czanner czanner@psc.edu
Tue, 05 Nov 2002 17:02:04 -0500


Hi Luis,

here is the compiling error:

In file included from 
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:17:
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.h:40: 
ISO
C++ forbids declaration of `vtkTypeRevisionMacro' with no type
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.h:40: 
cannot
declare parameter `{anonymous}' to be of type `vtkLinearTransform'
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.h:40:   

since the following virtual functions are abstract:
/usr/local/include/vtk/vtkAbstractTransform.h:220:     void 
vtkAbstractTransform::Inverse ()
/usr/local/include/vtk/vtkAbstractTransform.h:251:     vtkAbstractTransform
*vtkAbstractTransform::MakeTransform ()
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57: 
type
specifier omitted for parameter
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57: 
parse
error before string constant
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57: 
ISO
C++ forbids declaration of `vtkCxxRevisionMacro' with no type
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:58: 
ISO
C++ forbids declaration of `vtkStandardNewMacro' with no type
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx: 
In
method `void vtkITKMutualInformationTransform::PrintSelf (ostream &, 
vtkIndent)':
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:90: 
`class
vtkITKMutualInformationTransform' has no member named `Superclass'
/home/czanner/install/ITKv1/Insight/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx:90: 
parse
error before `::'
make[6]: *** [vtkITKMutualInformationTransform.o] Error 1
make[5]: *** [default_target] Error 2
make[4]: *** [default_target_Common] Error 2
make[3]: *** [default_target] Error 2
make[2]: *** [default_target_vtkITK] Error 2
make[1]: *** [default_target] Error 2
make: *** [default_target_Examples] Error 2

Silvester

Luis Ibanez wrote:

> Hi Silvester
>
> Could you please specify the compiling
> error that you encounter now ?
>
> Thanks
>
> Luis
>
> ==============================================
>
> Silvester Czanner wrote:
>
>> Dan,
>>
>> thank you, it helped me, but there is another compilation error, 
>> which was mentioned today. Is there somebody, who already solved it ?
>>
>> Silvester
>>
>>
>>
>
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>

-- 

Dr. Silvester Czanner

Pittsburgh Supercomputing Center
Carnegie Mellon University
4400 Fifth Avenue,
Pittsburgh, PA 15213, USA

http://www.psc.edu