[vtkusers] VTK 4 nightly build

Marcel Jackowski mjack at noodle.med.yale.edu
Sun Oct 13 19:54:08 EDT 2002

Hello there,

I've been trying to build VTK 4 under Win XP/MSVC++ 6.0, Cmake 1.4.5,
Tcl/Tk 8.4 and get the following compile error:

C:\VTK4\Common\vtkCommonTCLInit.cxx(411) : error C2664 : 
'Tcl_CreateCommand' : cannort convert parameter 3 from
'(int (__cdecl *)(void *, struct Tcl_Interp *, int, char *[])' to
'(int (__cdecl *)(void *, struct Tcl_Interp *, int const *[])'

Line 411 is:

TclCreateCommand(interp,(char *)"vtkCommand",
  (ClientData *)NULL, NULL);

I already tried reinterpreting the C cast ClientData * into
C++ but I could not get it to work. Has anyone had a problem
like this before?


Marcel Jackowski, Ph.D.			
Postdoctoral Fellow			

Image Processing and Analysis Group (IPAG)
Dept. of Diagnostic Radiology and Electrical Engineering
Yale School of Medicine
New Haven, CT 06520-8042

Phone: (203) 785-4910			e-mail: mjack at noodle.med.yale.edu
Fax: (203) 737-4273			http://noodle.med.yale.edu/~mjack

More information about the vtkusers mailing list