[vtk-developers] Compilation error in vtkSocketCommunicator.cxx

Brad King brad.king at kitware.com
Thu Jul 14 10:27:43 EDT 2005


Randall Hand wrote:
> Just an fyi, but I can't get the newest version of 
> vtkSocketCommunicator.cxx to compile.  It dies complaining about  :
> 
> Building object file vtkSocketCommunicator.o...
> cc-1070 CC: ERROR File = 
> ../../../ezViz/Utilities/VTK/Parallel/vtkSocketCommunicator.cxx, Line = 366
>   The indicated type is incomplete.
> 
>     struct timeval tval;
>                    ^
> 
> 1 error detected in the compilation of 
> "../../../ezViz/Utilities/VTK/Parallel/vtkSocketCommunicator.cxx".
> 
> I added an "#include <sys/time.h>" to the top and it fixed it.  This is 
> on an SGI Irix system.

Fixed.

-Brad




More information about the vtk-developers mailing list