Problems compiling VTK 3.1

Ken Martin ken.martin at kitware.com
Thu Apr 6 09:17:26 EDT 2000


I have a feeling this is because you are not including OpenGL or Mesa 
support. In such a case you would get that compiler error. Eventually 
though if you try to render anything you'll not have any renderer's to 
use.  It is still a good bug though since some people use VTK as a 
visualization processing server without using mesa or opengl.


- Thanks
- Ken

At 02:57 PM 4/6/00 +0200, Vetle Roeim wrote:
>I'm having some problems compiling vtk312Unix.tar.gz downloaded from
>ftp://public.kitware.com/pub/vtk.
>
>The error-messages I get are :
>
>vtkGraphicsFactory.cxx: In function `static class vtkObject *
>vtkGraphicsFactory::CreateInstance(const char *)':
>vtkGraphicsFactory.cxx:181: `vtkXRenderWindowInteractor' undeclared (first
>use this function)
>vtkGraphicsFactory.cxx:181: (Each undeclared identifier is reported only
>once
>vtkGraphicsFactory.cxx:181: for each function it appears in.)
>vtkGraphicsFactory.cxx:181: parse error before `::'
>make[1]: *** [vtkGraphicsFactory.o] Error 1
>
>I've tested both with vtk312Unix.tar.gz, and vtk.tar.gz in the
>"nightly" directory. Both produce the same error message.
>
>It appears that there is a line missing.
>I inserted a forward declaration of vtkXRenderWindowInteractor into
>vtkGraphicsFactory.h, and everything seems to work ok.
>
>
>vr

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list