[vtkusers] Error building vtkCommonTCLInit.cxx

Stephen Reilly stephen.reilly at ntlworld.com
Thu Oct 17 11:24:20 EDT 2002


I recently downloaded the release VTK source code, and am trying to build with Java and Tcl/Tk wrapping.

However, when I make, I get the following errors:

Error E2034 C:\PROGRA~1\vtk40\lib2\vtk\Common\vtkCommonTCLInit.cxx 381: Cannot convert 'int (*)(void *,Tcl_Interp *,int,char * *)' to 'int (*)(void *,Tcl_Interp
 *,int,const char * *)' in function Vtkcommontcl_Init(Tcl_Interp *)

Error E2342 C:\PROGRA~1\vtk40\lib2\vtk\Common\vtkCommonTCLInit.cxx 381: Type mismatch in parameter 'proc' (wanted 'int (*)(void *,Tcl_Interp *,int,const char * *)', got 'int (*)(void *,Tcl_Interp *,int,char * *)') in function Vtkcommontcl_Init(Tcl_Interp *)

I don't want to start editing files in case I end up with a build that just doesn't work.

My current setup is:
Windows 2000 with the Borland 5.2 compiler

I am quite a newbie, so any help would be greatly appreciated.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021017/0ee8af99/attachment.htm>

More information about the vtkusers mailing list