[vtkusers] Newbie installation question

William Oliver oliver at cpt.afip.org
Wed Apr 25 16:32:54 EDT 2001


Hi! First time on the list, here.  I've downloaded vtk and have installed it
on my configuration (SGI Onyx2, IRIX 6.5.9).  VTK compiles and runs fine
with done with the --with-tcl option.  When I try to add java support,
however, I have some problems.  The bottom line is that I get a ton
of unresolved symbols.  The errors and my user.make file are below.

Clearly, I have some configuration problem here.  Any suggestions
would be appreciated!

Thanks, 

billo









Error message:



 Parsed func vtkFunctionSet
   Converted operator
        rm -f ../java/vtk/vtkInitialValueProblemSolver.java; /billings/usr/people/oliver/vtk/wrap/vtkParseJava ./vtkInitialValueProblemSolver.h ./../wrap/hints 0 > ../java/vtk/vtkInitialValueProblemSolver.java
   Parsed func PrintSelf
   Parsed func ComputeNextStep
   Parsed func ComputeNextStep
   Parsed func MakeObject
   Parsed func SetFunctionSet
   Parsed func vtkInitialValueProblemSolver
   Parsed func vtkInitialValueProblemSolver
   Parsed func vtkInitialValueProblemSolver
   Converted operator
   Parsed func Initialize
        rm -f ../java/vtk/vtkObjectFactoryCollection.java; /billings/usr/people/oliver/vtk/wrap/vtkParseJava ./vtkObjectFactoryCollection.h ./../wrap/hints 1 > ../java/vtk/vtkObjectFactoryCollection.java
   Parsed func New
   Parsed func AddItem
   Parsed func GetNextItem
   Parsed func vtkObjectFactoryCollection
   Parsed func vtkObjectFactoryCollection
   Parsed func vtkObjectFactoryCollection
   Converted operator
   Parsed func AddItem
        /usr/java/bin/javac -d /usr/vtk/java/classes ../java/vtk/vtkActor2D.java 
SetLocale : Error 0
../java/vtk/vtkActor2D.java:7: cannot resolve symbol
symbol  : class vtkProp  
location: class vtk.vtkActor2D
public class vtkActor2D extends vtkProp
                                ^
../java/vtk/vtkActor2D.java:18: cannot resolve symbol
symbol  : class vtkViewport  
location: class vtk.vtkActor2D
  private native int RenderOverlay_2(vtkViewport id0);
                                     ^
(etc. for a total of 25 similar errors)


My user.make looks like:


%  more 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/usr/freeware/include/tcl
TCL_LIB=/usr/freeware/lib/libtcl8.0.so

TK_INCLUDE=-I/usr/freeware/include/tk
TK_LIB=/usr/freeware/lib/libtk8.0.so

#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 
#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 = -o32  
USER_CXXFLAGS =  -o32

# if you want to try the java support you'll need to set the following
# variables to match your environment and uncomment them
#
JDKHOME=/usr/java
JAVAC=${JDKHOME}/bin/javac
JAR=${JDKHOME}/bin/jar
JAVA_CLASS_HOME=/usr/vtk/java/classes
JAVAH=${JDKHOME}/bin/javah
JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/irix
#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








More information about the vtkusers mailing list