[vtkusers] TCL support not compiling despite matching of every version requirements
Jonathan Bailleul
bailleul at greyc.ismra.fr
Tue Feb 4 14:42:10 EST 2003
gcc/g++: 3.2.1
Cmake: 1.4.7
VTK: nightly from friday, compiles ok without tcl support
tcl/Tk version: 8.2.3, the one recommended for least trouble.
Please, If someone managed to compile VTK on unix with tcl support,
could you give me information to help me out?
Thanks in advance
Error (the same along all my attempts):
/tmp/VECTRA/VTK/Wrapping/Tcl: building default_target
g++ -I/usr/openwin/include -I/tmp/VECTRA/VTK/Wrapping/Tcl
-I/tmp/VECTRA/VTK -I/tmp/VECTRA/VTK/Patented -I/tmp/VECTRA/VTK/Rendering
-I/tmp/VECTRA/VTK/IO -I/tmp/VECTRA/VTK/Imaging
-I/tmp/VECTRA/VTK/Graphics -I/tmp/VECTRA/VTK/Filtering
-I/tmp/VECTRA/VTK/Common -I/tmp/VECTRA/VTK/Common/Testing/Cxx
-I/tmp/VECTRA/VTK/Utilities/jpeg -I/tmp/VECTRA/VTK/Utilities/tiff
-I/tmp/VECTRA/VTK/Utilities/expat -I/tmp/VECTRA/VTK/Utilities/png
-I/tmp/VECTRA/VTK/Utilities/zlib
-I/tmp/VECTRA/VTK/Utilities/freetype/include
-I/tmp/VECTRA/VTK/Utilities/freetype
-I/tmp/VECTRA/VTK/Utilities/ftgl/src -I/tmp/VECTRA/VTK/Utilities/ftgl
-I/users/these/bailleul/bin/ActiveTcl/include -c
/tmp/VECTRA/VTK/Wrapping/Tcl/vtkTkAppInit.cxx -o vtkTkAppInit.o
In file included from
/users/disk4/gnu/gcc3/include/c++/3.2.1/backward/strstream:51,
from /tmp/VECTRA/VTK/Common/vtkIOStream.h:31,
from /tmp/VECTRA/VTK/Common/vtkSystemIncludes.h:49,
from /tmp/VECTRA/VTK/Wrapping/Tcl/vtkTkAppInit.cxx:36:
/users/disk4/gnu/gcc3/include/c++/3.2.1/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found in
section 17.4.1.2 of the C++ standard. Examples include substituting the
<X> header for the <X.h> header for C++ includes, or <sstream> instead
of the deprecated header <strstream.h>. To disable this warning use
-Wno-deprecated.
g++ -I/usr/openwin/include vtkTkAppInit.o -L. -L/tmp/VECTRA/VTK/bin
-L/users/these/bailleul/bin/ActiveTcl/lib -lvtkCommonTCL
-lvtkFilteringTCL -lvtkGraphicsTCL -lvtkImagingTCL -lvtkIOTCL
-lvtkRenderingTCL -lvtkPatentedTCL -lvtkRendering -lvtkftgl
-lvtkfreetype -lGL -lXt -lSM -lICE -L/usr/openwin/lib
-R/usr/openwin/lib -lX11 -lXext -lsocket -lnsl -ltk8.2 -lvtkPatented
-lvtkImagingTCL -lvtkImaging -lvtkIOTCL -lvtkIO -lvtktiff -lvtkpng
-lvtkzlib -lvtkjpeg -lvtkexpat -lvtkGraphicsTCL -lvtkGraphics
-lvtkFilteringTCL -lvtkFiltering -lvtkCommonTCL -lvtkCommon -lpthread
-lm -ldl -ltcl8.2
-Wl,-R,.:/tmp/VECTRA/VTK/bin:/users/these/bailleul/bin/ActiveTcl/lib -o
/tmp/VECTRA/VTK/bin/vtk
Undefined first referenced
symbol in file
Tk_Main vtkTkAppInit.o
tkMainWindowList
/tmp/VECTRA/VTK/bin/libvtkRenderingTCL.so
ld: fatal: Symbol referencing errors. No output written to
/tmp/VECTRA/VTK/bin/vtk
collect2: ld returned 1 exit status
make[3]: *** [/tmp/VECTRA/VTK/bin/vtk] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Tcl] Error 2
make: *** [default_target] Error 2
--
--------------------------
Jonathan BAILLEUL
Doctorant au GREYC Image
ISMRA, Université de Caen
More information about the vtkusers
mailing list