[Insight-users] problem building on linux

Silvester Czanner czanner@psc.edu
Wed, 06 Nov 2002 11:17:38 -0500


Hi Luis,

I updated VTK vr. 4.0 to ver 4.0 Nightly release. The ITK compilation 
runned without any problems together with VTK and FLTK. Thank you again 
for your advice.

Silvester

Silvester Czanner wrote:

> Hi Luis,
>
> I am using VTK ver. 4.0
> I will check up, what I can do with the VTK updating :-)
>
> Thanx,
> SIlvester
>
> Luis Ibanez wrote:
>
>>
>> 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
>>>>
>>>
>>
>>
>>
>>
>>
>>
>

-- 

Dr. Silvester Czanner

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

http://www.psc.edu