[vtkusers] Error compiling vtk 6.3.0 on win32 (VC++ 2010)

pof jd379252 at gmail.com
Tue Sep 15 17:22:23 EDT 2015


Hi all,

I am trying to build vtk6.3.0 dlls (using CMake to generate the MSVC 
project files).
- For win64, everything compile and links fine.
- For win32, there is a repetitive compilation error complaining about 
VTK_SIZEOF_CHAR.

Apparently, the mistake is in the vtkConfigure.h file, in which the line
     #define VTK_SIZEOF_CHAR
is uncomplete.
Modifying as
     #define VTK_SIZEOF_CHAR = 1
solves the problem, i.e. it compiles and links

Pof


More information about the vtkusers mailing list