[vtkusers] vtk40 linux compilation errors

Siram, Aditya siram at bnl.gov
Wed Jan 15 14:03:48 EST 2003


Adding the TCL option to my VTK compilation seems to produce compiler
errors. 

I have downloaded vtk40, and installed cmake 1.4.7 and tcl8.4 on my machine.


I am using gcc v.3.1.1. These are the CC and CXX environment variables I am
using:
CC=gcc
CXX=g++

When I compile with no options added, vtk will compile. But when I turn on
the TCL_WRAP option, the following compiler errors were generated:
/////////*BEGINNING Of Error*////////////
~/VTK/Common/vtkTclUtil.cxx: In function `void vtkTclCreateNew (Tcl_Interp
*, const 
char *, void *(*) (), int (*) (void *, Tcl_Interp *, int, char **))':
~/VTK/Common/vtkTclUtil.cxx:576: cannot convert `int (*) (void *, Tcl_Interp
*, int, 
char **)' to `int (*) (void *, Tcl_Interp *, int, const char **)' for
argument `3' to 
`Tcl_CreateCommand (Tcl_Interp *, const char *, int (*) (void *, Tcl_Interp
*, int, const char **), 
void *, void (*) (void *))'
make[3]: *** [vtkTclUtil.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Common] Error 2
make: *** [default_target] Error 2
//////////*END Of Error*///////////////

There were some Tcl variables listed below that were NOTFOUND when I
configured Cmake. I tried to find the files but they do not exist on my
machine. Perhaps that are the cause of my problem.
TCL_LIBRARY_DEBUG=NOTFOUND
TCL_STUB_LIBRARY_DEBUG=NOTFOUND
TK_LIBRARY_DEBUG=NOTFOUND
TK_STUB_LIBRARY_DEBUG=NOTFOUND
VTK_WRAP_TCL_EXE=~/VTK/bin/./vtkWrapTcl

Your support is greatly appreciated.....
Aditya Siram





More information about the vtkusers mailing list