[vtkusers] Compile Abstract Class for Tcl
David Netherway
david.netherway at adelaide.edu.au
Tue Jul 2 04:13:37 EDT 2002
This may be completely wrong but I think I had a similar problem that went
away when I added
the abstract class to both the ABSTRACT_FILES list and the SOURCE_FILES
list.
David
----- Original Message -----
From: "Brad Lowekamp" <blowek1 at mailserver-ng.cs.umbc.edu>
To: <vtkusers at public.kitware.com>
Sent: Tuesday, 02 July, 2002 5:59 AM
Subject: [vtkusers] Compile Abstract Class for Tcl
>
> I am trying to compile an abstact class and generate the TCL bindings for
> the derived classes. I have indicated that it is an abstract class in my
> CMakeList file by adding the following option to the base myVTK file:
>
> ABSTRACT_FILES(
> myAbstractClass
> )
>
> I have tried it both with the file extention and with out. Either way the
> TCL parser tries to create a NewCommand for the class and then the
> compiler gives and error because my abstract class does not have a New
> function. This option seem to be what was uses in VTK to create an
> abstract class. What am I missing? What do I need to do to get to work?
>
> Thanks,
> Brad
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list