[vtkusers] Bug in vtkXRenderWindowInteractor.h, rev 1.56

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Dec 4 05:38:43 EST 2000


hi, 

the cvs tree of 2000/12/04 does not build on linux.  Here is the
error.

$ make vtkXRenderWindowInteractor.o
c++  -O2 -fPIC   -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVT
K_USE_IMAGING -I./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRI
B  -I/usr/X11R6/include  -I./../common -I../common   -I/usr/lib/jdk1.1/include -
I/usr/lib/jdk1.1/include/linux -I/usr/include/python1.5 -c vtkXRenderWindowInter
actor.cxx -o vtkXRenderWindowInteractor.o
vtkXRenderWindowInteractor.cxx: In method `void vtkXRenderWindowInteractor::Star
t()':
vtkXRenderWindowInteractor.cxx:173: incomplete type `vtkCommand' does not have m
ember `StartEvent'
vtkXRenderWindowInteractor.cxx:175: incomplete type `vtkCommand' does not have m
ember `StartEvent'
make: *** [vtkXRenderWindowInteractor.o] Error 1
$

The fix is to add the line

#include "vtkCommand.h" 

to vtkXRenderWindowInteractor.h

thanks,
prabhu




More information about the vtkusers mailing list