[vtkusers] VTK 4.0 error in vtkTkImageViewerWidget.h

Asad A. Abu-Tarif tarifa at rpi.edu
Mon Nov 19 00:07:56 EST 2001


Hi,
I'm one of the VTK 4.0 testers (site: asad.rpi). I've been facing the same
error
in every build for the last few days (happening 6 times per build). Here it
is:

================error=============================
D:\vtk4.0\VTK\Rendering\vtkTkImageViewerWidget.h(85) : fatal error C1083:
Cannot open include file: 'tkWinInt.h': No such file or directory
vtkTkImageWindowWidget.cxx
================error=============================

The file tkWinInt.h is in the directory D:\vtk4.0\VTK\Rendering\tkInternals
and that directory is specified in CMake.
The problem is that vtkTkImageViewerWidget.h includes this file with "'
(#include "tkWinInt.h"), this tells the VC++ compiler to look for it only in
the current directory. The include statement should be changed to be
using <> (#include <tkWinInt.h> ) or to (#include "tkinternals\tkWinInt.h").

Am I correct or is it that I'm doing something wrong in the configuration
that is causing this error?

Thanks,
Asad





More information about the vtkusers mailing list