[Insight-users] problem building on linux
Luis Ibanez
luis.ibanez@kitware.com
Tue, 05 Nov 2002 17:37:05 -0500
Hi Silvester,
Thanks for sending the full error message.
As you said, this seems to be the same problem
reported by Ghassan. It seems to be due to the
use of a not so recent VTK version.
What version of VTK are you using ?
You may want to consider updating your VTK
to a nightly release or to the cvs version.
Luis
===========================================
Silvester Czanner wrote:
> 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
>>
>