[vtkusers] VTK Building Error
Cem DEMiRKIR
cdemirkir at gmail.com
Wed Jul 11 15:53:23 EDT 2007
Dear community members
I'd like to build VTK updated with current CVS but I get the following
errors. I'd be grateful to anyone help me to find out How I can fix these
errors.
My configuration :
CMake : Ver 2.4
Operating System : XP SP2
Compiler : VS2005 VC8
Sincerely
Cem DEMiRKIR
------ Build started: Project: vtkRenderingTCL, Configuration: Release Win32
------
Compiling...
vtkTkRenderWidget.cxx
..\..\Rendering\vtkTkRenderWidget.cxx(360) : error C2664:
'Tk_ConfigureWidget' : cannot convert parameter 5 from 'char *[]' to 'const
char **'
Conversion loses qualifiers
..\..\Rendering\vtkTkRenderWidget.cxx(530) : error C2664:
'Tcl_CreateCommand' : cannot convert parameter 3 from 'int (__cdecl
*)(ClientData,Tcl_Interp *,int,char *[])' to 'Tcl_CmdProc (__cdecl *)'
None of the functions with this name in scope match the target type
..\..\Rendering\vtkTkRenderWidget.cxx(727) : error C2664:
'Tcl_CreateCommand' : cannot convert parameter 3 from 'int (__cdecl
*)(ClientData,Tcl_Interp *,int,char **)' to 'Tcl_CmdProc (__cdecl *)'
None of the functions with this name in scope match the target type
..\..\Rendering\vtkTkRenderWidget.cxx(729) : error C2664:
'Tcl_CreateCommand' : cannot convert parameter 3 from 'int (__cdecl
*)(ClientData,Tcl_Interp *,int,char **)' to 'Tcl_CmdProc (__cdecl *)'
None of the functions with this name in scope match the target type
vtkTkImageViewerWidget.cxx
..\..\Rendering\vtkTkImageViewerWidget.cxx(90) : error C2664:
'Tk_ConfigureWidget' : cannot convert parameter 5 from 'char *[]' to 'const
char **'
Conversion loses qualifiers
..\..\Rendering\vtkTkImageViewerWidget.cxx(266) : error C2664:
'Tcl_CreateCommand' : cannot convert parameter 3 from 'int (__cdecl
*)(ClientData,Tcl_Interp *,int,char *[])' to 'Tcl_CmdProc (__cdecl *)'
None of the functions with this name in scope match the target type
..\..\Rendering\vtkTkImageViewerWidget.cxx(426) : error C2664:
'Tcl_CreateCommand' : cannot convert parameter 3 from 'int (__cdecl
*)(ClientData,Tcl_Interp *,int,char **)' to 'Tcl_CmdProc (__cdecl *)'
None of the functions with this name in scope match the target type
Generating Code...
Build log was saved at
"file://z:\Libraries\VTK\bin\Rendering\vtkRenderingTCL.dir\Release\BuildLog.
htm"
vtkRenderingTCL - 7 error(s), 0 warning(s)
------ Build started: Project: vtkCommonTCL, Configuration: Release Win32
------
Compiling...
vtkTclUtil.cxx
..\..\Common\vtkTclUtil.cxx(374) : error C2664: 'Tcl_CreateCommand' : cannot
convert parameter 3 from 'vtkTclCommandType' to 'Tcl_CmdProc (__cdecl *)'
This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
..\..\Common\vtkTclUtil.cxx(649) : error C2664: 'Tcl_CreateCommand' : cannot
convert parameter 3 from 'vtkTclCommandType' to 'Tcl_CmdProc (__cdecl *)'
This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
..\..\Common\vtkTclUtil.cxx(683) : error C2664: 'Tcl_CreateCommand' : cannot
convert parameter 3 from 'vtkTclCommandType' to 'Tcl_CmdProc (__cdecl *)'
This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
vtkCommonTCLInit.cxx
.\vtkCommonTCLInit.cxx(400) : error C2664: 'Tcl_CreateCommand' : cannot
convert parameter 3 from 'vtkTclCommandType' to 'Tcl_CmdProc (__cdecl *)'
This conversion requires a reinterpret_cast, a C-style cast or
function-style cast
Generating Code...
Build log was saved at
"file://z:\Libraries\VTK\bin\Common\vtkCommonTCL.dir\Release\BuildLog.htm"
vtkCommonTCL - 4 error(s), 0 warning(s)
------ Build started: Project: vtk, Configuration: Release Win32 ------
Linking...
LINK : fatal error LNK1181: cannot open input file 'vtkCommonTCL.lib'
Build log was saved at
"file://z:\Libraries\VTK\bin\Wrapping\Tcl\vtk.dir\Release\BuildLog.htm"
vtk - 1 error(s), 0 warning(s)
------ Build started: Project: ALL_BUILD, Configuration: Release Win32
------
"Build all projects"
Build log was saved at
"file://z:\Libraries\VTK\bin\ALL_BUILD.dir\Release\BuildLog.htm"
ALL_BUILD - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 3 failed, 59 up-to-date, 0 skipped ==========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070711/b78a3d54/attachment.htm>
More information about the vtkusers
mailing list