[vtkusers] Building vtk 5.0 with Shared Libs & TclWrap on Linux/Fedora Core 5----Problem in vtkCommonInitTCL.cxx
Richard Strelitz
strelitz at lanl.gov
Mon Nov 13 16:53:29 EST 2006
VTK has thwarted me again. I was trying to build VTK 5.0 or its
successors on CVS, with SHARED LIBS and TCL Wrap ON
on a Linux, Fedora Core 5, 64 bit AMD machine.
(north facing, if that counts toward the alchemy of the process)
Regardless of how I specify tcl libs, includes and versions,
I get the following error:
------------------------
[ 4%] Building CXX object
Common/CMakeFiles/vtkCommonTCL.dir/vtkCommonTCLInit.o
/home/strelitz/VTK/Common/vtkCommonTCLInit.cxx: In function int
Vtkcommontcl_Init(Tcl_Interp*):
/home/strelitz/VTK/Common/vtkCommonTCLInit.cxx:388: error: invalid
conversion from int (*)(void*, Tcl_Interp*, int, char**) to int
(*)(void*, Tcl_Interp*, int, const char**)
/home/strelitz/VTK/Common/vtkCommonTCLInit.cxx:388: error:
initializing argument 3 of Tcl_Command_* Tcl_CreateCommand(Tcl_Interp*,
const char*, int (*)(void*, Tcl_Interp*, int, const char**), void*, void
(*)(void*))
gmake[2]: *** [Common/CMakeFiles/vtkCommonTCL.dir/vtkCommonTCLInit.o]
Error 1
gmake[1]: *** [Common/CMakeFiles/vtkCommonTCL.dir/all] Error 2
gmake: *** [all] Error 2
[strelitz at cme VTK]$ g++ --version
g++ (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
-------------
It works perfectly on a Windows XP box with Visual Studio .net
Any and all suggestions that do not include sacrifice of a goat or vital
organ will be appreciated and tested.
Thank you,
Richard Strelitz
~
~
More information about the vtkusers
mailing list