<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana size=2>I try to compile
vtk on a Win2k MSDev (latest source release) with the WRAP_TCL option turned
on.</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana size=2>When compiling I
get the following error in vtkCommonTCL:</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana
size=2></FONT></SPAN><SPAN class=116163715-05112002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2>----------------------</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2>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 <BR>char *[])' not
possible </FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2> This conversion needs a
reinterpret_cast-operator or a type conversion in C- or function
format<BR>
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 <BR>char *[])' not possible</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2> This conversion needs a
reinterpret_cast-operator or a type conversion in C- or function
format<BR>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 *[])' <BR>not
possible<BR> No function with this
name in the scope fits to the target type.</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2><SPAN
class=116163715-05112002><FONT face=Courier
size=2>----------------------</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2><SPAN
class=116163715-05112002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2><SPAN
class=116163715-05112002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana size=2><SPAN
class=116163715-05112002>(translated from german error codes
:)</SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Verdana size=2><SPAN
class=116163715-05112002></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2>I checked out a
cvs-version from 2 days ago and have exactly the same errors
there.</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2>Is there a global
switch that can turn this error in a warning? Is there any other
solution?</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier size=2>Thanks for any
ideas or suggestions!</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002><FONT face=Courier
size=2>Nils</FONT></SPAN></DIV>
<DIV><SPAN class=116163715-05112002></SPAN><SPAN class=116163715-05112002><FONT
face=Courier size=2></FONT></SPAN> </DIV>
<P><FONT face="Courier New" size=2>-------------------------</FONT><BR><FONT
face="Courier New" size=2>Nils Hanssen</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face="Courier New" size=2>Surgical
Systems Laboratory</FONT><BR><FONT face="Courier New" size=2>research center c
ae sa r</FONT><FONT face="Times New Roman"><BR></FONT><FONT face="Courier New"
size=2>Friedensplatz 16</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face="Courier New" size=2>53111 Bonn</FONT><FONT
face="Times New Roman"><BR></FONT><FONT face="Courier New" size=2>fon:
+49-228-9656-249</FONT><FONT face="Times New Roman"><BR></FONT><FONT
face="Courier New" size=2>fax: +49-228-9656-111</FONT><FONT
face="Times New Roman"><BR><U></U></FONT><U><FONT face="Courier New"
color=#0000ff size=2><A href="http://www.caesar.de/ssl"
target=_blank>http://www.caesar.de/ssl</A></FONT></U> </P><BR>
<DIV> </DIV></BODY></HTML>