VTK2.4 with Tcl/Tk8.2

Lakshmi Sastry ls at inf.rl.ac.uk
Tue Oct 5 12:20:15 EDT 1999


Hello,

I have just started using VTK. I downloaded vtk2.4 and want to build it wit=
h
Tcl/Tk8.2 for a Silicon Graphics Onyx machine running IRIX6.5. My build
fails at the point described blow. Can anyone advice me what I am doing=20
incorrectly (e.g. should I be using an earlier version of Tcl/Tk).

I am also including my user.make

Many thanks in advance,
Lakshmi Sastry


 rm -f libVTKContribTcl.so
        CC  -g -DHAVE_SETMON  -DVTK_WORDS_BIGENDIAN  -DVTK_USE_PTHREADS -pt=
all -no_prelink  -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.  =
 -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I=
./../patented -DVTK_USE_PATENTED -I./../contrib -DVTK_USE_CONTRIB  -DVTK_US=
E_OGLR     -I./../common -I/home/vsguser/ls/tcltk/tk8.2.0/generic -I/home/v=
sguser/ls/tcltk/tk8.2.0/unix  -I/home/vsguser/ls/tcltk/include -I/home/vsgu=
ser/ls/tcltk/tcl8.2.0/generic -I/home/vsguser/ls/tcltk/tcl8.2.0/unix  -I/ho=
me/vsguser/ls/tcltk/include    -shared -rdata_shared -o \
        libVTKContribTcl.so \
        tcl/ContribInit.o  tcl/vtkDEMReaderTcl.o  tcl/vtkEarthSourceTcl.o  =
tcl/vtkImageResliceTcl.o  tcl/vtkIVWriterTcl.o  tcl/vtkMassPropertiesTcl.o =
 tcl/vtkOBJReaderTcl.o  tcl/vtkProjectedTextureTcl.o  tcl/vtkRenderLargeIma=
geTcl.o  tcl/vtkRIBExporterTcl.o  tcl/vtkRIBLightTcl.o  tcl/vtkRIBPropertyT=
cl.o  tcl/vtkSuperquadricTcl.o  tcl/vtkSuperquadricSourceTcl.o  tcl/vtkSubd=
ivideTetraTcl.o  tcl/vtkCellDerivativesTcl.o  tcl/vtkCubeAxesActor2DTcl.o  =
tcl/vtkSurfaceReconstructionFilterTcl.o=20
        cd tcl;        make - vtk
        CC -g  -DHAVE_SETMON  -DVTK_WORDS_BIGENDIAN  -DVTK_USE_PTHREADS -pt=
all -no_prelink  -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I.  =
-I./../common -I/home/vsguser/ls/tcltk/tk8.2.0/generic -I/home/vsguser/ls/t=
cltk/tk8.2.0/unix  -I/home/vsguser/ls/tcltk/include -I/home/vsguser/ls/tclt=
k/tcl8.2.0/generic -I/home/vsguser/ls/tcltk/tcl8.2.0/unix  -I/home/vsguser/=
ls/tcltk/include  -DVTK_USE_TKWIDGET -DVTK_USE_OGLR     -I./../graphics -DV=
TK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../patented -DVTK_USE_=
PATENTED -I./../contrib -DVTK_USE_CONTRIB  -c -o tkAppInit.o ./tkAppInit.cx=
x
cc-1174 CC: WARNING File == ./tkAppInit.cxx, Line == 118
  The variable "main" was declared but never referenced.

    Tk_Window main;
              ^

        CC -o vtk tkAppInit.o \
        -L. -g  -DHAVE_SETMON  -DVTK_WORDS_BIGENDIAN  -DVTK_USE_PTHREADS -p=
tall -no_prelink  -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. =
 -I./../common -I/home/vsguser/ls/tcltk/tk8.2.0/generic -I/home/vsguser/ls/=
tcltk/tk8.2.0/unix  -I/home/vsguser/ls/tcltk/include -I/home/vsguser/ls/tcl=
tk/tcl8.2.0/generic -I/home/vsguser/ls/tcltk/tcl8.2.0/unix  -I/home/vsguser=
/ls/tcltk/include  -DVTK_USE_TKWIDGET -DVTK_USE_OGLR     -I./../graphics -D=
VTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../patented -DVTK_USE=
_PATENTED -I./../contrib -DVTK_USE_CONTRIB          -L/usr/ral/vtk/contrib =
-lVTKContribTcl -lVTKContrib     -L/usr/ral/vtk/patented -lVTKPatentedTcl -=
lVTKPatented  -L/usr/ral/vtk/imaging -lVTKImagingTcl -lVTKImaging     -L/us=
r/ral/vtk/graphics -lVTKGraphicsTcl -lVTKGraphics  -L../common -lVTKCommonT=
cl -lVTKCommon   -lGL  -L/home/vsguser/ls/tcltk/lib -L/home/vsguser/ls/tclt=
k/lib/tk8.2  /home/vsguser/ls/tcltk/lib/libtkstub8.2.a -L/home/vsguser/ls/t=
cltk/lib -L/home/vsguser/ls/tcltk/lib/tcl8.2  /home/vsguser/ls/tcltk/lib/li=
btclstub8.2.a   -lpthread \
         -lXext -lXt -lSM -lICE -lX11  -lm
ld32: WARNING 84 : /home/vsguser/ls/tcltk/lib/libtkstub8.2.a is not used fo=
r resolving any symbol.
ld32: WARNING 84 : /home/vsguser/ls/tcltk/lib/libtclstub8.2.a is not used f=
or resolving any symbol.
ld32: ERROR   33 : Unresolved text symbol "Tcl_CreateInterp" -- 1st referen=
ced by tkAppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR   33 : Unresolved text symbol "Tk_MainEx" -- 1st referenced by =
tkAppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR   33 : Unresolved text symbol "Tcl_Init" -- 1st referenced by t=
kAppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR   33 : Unresolved text symbol "Tk_Init" -- 1st referenced by tk=
AppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR   33 : Unresolved text symbol "Tcl_SetVar" -- 1st referenced by=
 tkAppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR   33 : Unresolved text symbol "matherr" -- 1st referenced by tk=
AppInit.o.
        Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: INFO    152: Output file removed because of error.


---------------------user.make-------------------------------------------
# this file can be used to override any of the values selected
# by configure in system.make.  At a minimum you should set
# the following Tcl/Tk values if you are planning to use Tcl/Tk

TCL_INCLUDE==-I/home/vsguser/ls/tcltk/tcl8.2.0/generic -I/home/vsguser/ls/t=
cltk/tcl8.2.0/unix \
-I/home/vsguser/ls/tcltk/include
TCL_LIB==-L/home/vsguser/ls/tcltk/lib -L/home/vsguser/ls/tcltk/lib/tcl8.2 \
/home/vsguser/ls/tcltk/lib/libtclstub8.2.a

TK_INCLUDE==-I/home/vsguser/ls/tcltk/tk8.2.0/generic -I/home/vsguser/ls/tcl=
tk/tk8.2.0/unix \
-I/home/vsguser/ls/tcltk/include
TK_LIB==-L/home/vsguser/ls/tcltk/lib -L/home/vsguser/ls/tcltk/lib/tk8.2 \
/home/vsguser/ls/tcltk/lib/libtkstub8.2.a

#MESA_INCLUDE==-I/home/martink/storage/Mesa-1.2.6/include
#MESA_LIB==/home/martink/storage/Mesa-1.2.6/lib-sun4-solaris/libMesaGL.a

# for python you must set this=20
#PYTHON_INCLUDES==-I/home/schroede/montnaro/Python-1.4/Include

# Add additional CFLAGS and CXXFLAGS for compilation
# uncomment the following two lines to set your own flags
#USER_CFLAGS == =20
#USER_CXXFLAGS ===20

# if you want to try the java support you'll need to set the following
# variables to match your environment and uncomment them
#
#JDKHOME==/home/calvin/content/ITL/java-packages/dev-kits/JDK/jdk1.1
#JAVAC==${JDKHOME}/bin/javac
#JAVA_CLASS_HOME==/home/martink/java
#JAVAH==${JDKHOME}/bin/javah
#JAVA_INCLUDES==-I${JDKHOME}/include -I${JDKHOME}/include/solaris
#JAVA_CXX_LIB==/common/software/g++-2.7.1/sun4/5.4/lib/libiberty.a /common/=
software/g++-2.7.1/sun4/5.4/lib/libstdc++.a /common/software/g++-2.7.1/sun4=
/5.4/lib/gcc-lib/sparc-sun-solaris2.4/2.7.1/libgcc.a






========================================================================

Dr. Lakshmi Sastry		 	 Phone: +44 1235 446892
Rutherford Appleton Laboratory	 	 Fax  : +44 1235 445945
Chilton, Didcot  				 	
OX11 0QX				 Email: M.Sastry at rl.ac.uk
United Kingdom

=========================================================================


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------




More information about the vtkusers mailing list