[vtkusers] Compiling problems in vtkCommonTCL

Nils Hanssen hanssen at caesar.de
Tue Nov 5 10:46:16 EST 2002


Hi,

I try to compile vtk on a Win2k MSDev (latest source release) with the
WRAP_TCL option turned on.
When compiling I get the following error in vtkCommonTCL:


----------------------
C:\Devhanssen\vtk\vtk_lastrelease\Common\vtkTclUtil.cxx(290) : error C2664:
'Tcl_CreateCommand' : Conversion of parameter 3 from 'int (__cdecl *)(void
*,struct Tcl_Interp *,int,char *[])' to 'int (__cdecl *)(void *,struct
Tcl_Interp *,int,const
char *[])' not possible
        This conversion needs a reinterpret_cast-operator or a type
conversion in C- or function format
        C:\Devhanssen\vtk\vtk_lastrelease\Common\vtkTclUtil.cxx(544) : error
C2664: 'Tcl_CreateCommand' : Conversion of parameter 3 from 'int (__cdecl
*)(void *,struct Tcl_Interp *,int,char *[])' to 'int (__cdecl *)(void
*,struct Tcl_Interp *,int,const
char *[])' not possible
        This conversion needs a reinterpret_cast-operator or a type
conversion in C- or function format
C:\Devhanssen\vtk\vtk_lastrelease\Common\vtkTclUtil.cxx(576) : error C2664:
'Tcl_CreateCommand' : Conversion of parameter 3 from 'int (void *,struct
Tcl_Interp *,int,char *[])' to 'int (__cdecl *)(void *,struct Tcl_Interp
*,int,const char *[])'
not possible
        No function with this name in the scope fits to the target type.
----------------------


(translated from german error codes :)

I checked out a cvs-version from 2 days ago and have exactly the same errors
there.
Is there a global switch that can turn this error in a warning? Is there any
other solution?

Thanks for any ideas or suggestions!


Regards,
Nils

-------------------------
Nils Hanssen
Surgical Systems Laboratory
research center c ae sa r
Friedensplatz 16
53111 Bonn
fon: +49-228-9656-249
fax: +49-228-9656-111
http://www.caesar.de/ssl




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021105/fc87a15b/attachment.htm>


More information about the vtkusers mailing list