[Insight-users] problem building on linux
Silvester Czanner
czanner@psc.edu
Tue, 05 Nov 2002 16:43:25 -0500
Dan,
thank you, it helped me, but there is another compilation error, which
was mentioned today. Is there somebody, who already solved it ?
Silvester
Luis Ibanez wrote:
> Hi Ghassan,
>
> This particular example is using VTK for visualization.
>
> The error you reported seems to be related with
> the ongoing reorganization of header files in VTK.
>
> What version of VTK are you using ?
>
> If this is a cvs checkout, how recent is it ?
>
> It will probably be a matter of including some
> required VTK headers.
>
>
> Thanks
>
> Luis
>
> ==================================================
>
> Ghassan Hamarneh wrote:
>
>> Hi,
>>
>> Can you help me resolve this error?
>> [[ gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85) ]]
>>
>> (Luis, I earlier had problems related to
>> vtkITKMutualInformationTransform and
>> you suggested I make sure of VTK_WRAP_HINTS, it is now pointing to
>> the file
>> ...VTK/Wrapping/hints )
>>
>> Thank you,
>> /Ghassan
>>
>>
>>
>> /usr/bin/c++ -ftemplate-depth-50 -DvtkVTKITKCommon_EXPORTS -fPIC
>> -I/lhome/ghassan/Insight/Applications/vtkITK/Common
>> -I/lhome/ghassan/Insight/Code/Algorithms -I/lhome/ghassan/Ins
>> ight/Code/BasicFilters -I/lhome/ghassan/Insight/Code/Common
>> -I/lhome/ghassan/Insight/Code/Numerics -I/lhome/ghassan/Insight/Code/IO
>> -I/lhome/ghassan/Insight/Code/Numerics/FEM -I/
>> lhome/ghassan/Insight/Code/Numerics/Statistics
>> -I/lhome/ghassan/Insight/Code/Numerics/vxl
>> -I/lhome/ghassan/Insight/Code/Numerics/vxl/vcl
>> -I/lhome/ghassan/Insight/Code/SpatialObje
>> ct -I/lhome/ghassan/Insight/Utilities/png
>> -I/lhome/ghassan/Insight/Utilities/zlib
>> -I/lhome/ghassan/Insight/Utilities/MetaIO -I/lhome/ghassan/Insight
>> -I/lhome/ghassan/VTK/Renderin
>> g -I/lhome/ghassan/VTK/Hybrid -I/lhome/ghassan/VTK/Patented
>> -I/lhome/ghassan/VTK/Parallel -I/lhome/ghassan/VTK
>> -I/lhome/ghassan/VTK/Common
>> -I/lhome/ghassan/VTK/Filtering -I/lhome
>> /ghassan/VTK/Imaging -I/lhome/ghassan/VTK/Graphics
>> -I/lhome/ghassan/VTK/IO
>> -I/lhome/ghassan/VTK/Utilities/zlib -I/lhome/ghassan/VTK/Utilities/png
>> -I/lhome/ghassan/VTK/Utilities/j
>> peg -I/lhome/ghassan/VTK/Common/Testing/Cxx -I/usr/include/python1.5
>> -I/Common/
>> -D_PTHREADS -I/usr/X11R6/include -c
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMut
>> ualInformationTransform.cxx -o vtkITKMutualInformationTransform.o
>> In file included from
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:17:
>>
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.h:40:
>>
>> ISO C++
>> forbids declaration of `vtkTypeRevisionMacro' with no type
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.h:40:
>>
>> cannot declare
>> parameter `{anonymous}' to be of type `vtkLinearTransform'
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.h:40:
>>
>> since the
>> following virtual functions are abstract:
>> /lhome/ghassan/VTK/Common/vtkAbstractTransform.h:220: void
>> vtkAbstractTransform::Inverse ()
>> /lhome/ghassan/VTK/Common/vtkAbstractTransform.h:251:
>> vtkAbstractTransform
>> *vtkAbstractTransform::MakeTransform ()
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57:
>>
>> type
>> specifier omitted for parameter
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57:
>>
>> parse error
>> before string constant
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:57:
>>
>> ISO C++
>> forbids declaration of `vtkCxxRevisionMacro' with no type
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:58:
>>
>> ISO C++
>> forbids declaration of `vtkStandardNewMacro' with no type
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:
>>
>> In method `void
>> vtkITKMutualInformationTransform::PrintSelf (ostream &, vtkIndent)':
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:90:
>>
>> `class
>> vtkITKMutualInformationTransform' has no member named `Superclass'
>> /lhome/ghassan/Insight/Applications/vtkITK/Common/vtkITKMutualInformationTransform.cxx:90:
>>
>> parse error
>> before `::'
>> make[7]: *** [vtkITKMutualInformationTransform.o] Error 1
>> make[6]: *** [default_target] Error 2
>> make[5]: *** [default_target_Common] Error 2
>> make[4]: *** [default_target] Error 2
>> make[3]: *** [default_target_vtkITK] Error 2
>> make[2]: *** [default_target] Error 2
>> make[1]: *** [default_target_Applications] Error 2
>> make: *** [default_target] Error 2
>>
>>
>>
>> ______________________________________________________________________
>> Post your free ad now! http://personals.yahoo.ca
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>
>
>
>
>
> _______________________________________________
> 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