[vtkusers] Local classes

David J. Netherway david.netherway at adelaide.edu.au
Sun Feb 15 22:55:01 EST 2004


Hello,

I am using a cvs download of late last week.
I have successfully build vtk on a linux PC.
I am now trying to set up a Local directory for my own classes following
the procedure in the README.html file.
I recognise that there seems to be 3 methods suggested.
(a) the README.html method
(b) VTK/Build/vtkLocal
(c) VTK/Build/vtkMy
I have successfully used (b) and (c) under windows on vtk versions of
about a year ago. In setting up under linux
I am using (a) which suggests putting ones classes into VTK/Local.

I seem to be having a problem with  the definition of VTK_LOCAL_EXPORT.

How is this set using method (a) or is something else going on?

Is there a preferred method for setting up local classes ?

Thanks, David


---- error message excerpt----

Building object file vtkArcballTransform.o...
In file included from
/acfu/people/djn/src/VTK/Local/vtkArcballTransform.cxx:9:
/acfu/people/djn/src/VTK/Local/vtkArcballTransform.h:29: syntax error
before `: ' token

----header file excerpt ------------------------

#ifndef __vtkArcballTransform_h
#define __vtkArcballTransform_h

#include "vtkTransform.h"

class VTK_LOCAL_EXPORT vtkArcballTransform : public vtkTransform
{
 public:
  static vtkArcballTransform *New();

... etc ...
-----------------------------------------




More information about the vtkusers mailing list