Build problems
Bryan VanDeVen
bryanv at arlut.utexas.edu
Fri Oct 1 18:26:01 EDT 1999
When building vtk2.4 I see the following error:
c++ -g -O2 -DVTK_WORDS_BIGENDIAN -DVTK_USE_PTHREADS
-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
-I./../common -I/opt/include -I/opt/include -I/opt/jdk1.2/include
-I/opt/jdk1.2/include/solaris -I/opt/include/python1.5 -c
vtkHyperStreamline.cxx -o vtkHyperStreamline.o
/usr/ccs/bin/as: "/var/tmp/ccUK6BX0.s", line 2623: error: constant value
must be between -4096 and 4095
*** Error code 1
make: Fatal error: Command failed for target `vtkHyperStreamline.o'
do I need to use gas instead of the Sun assembler?
Also, I have *never* been able to get the java binding to build without
at hassle. It build all the .java files fine, but then when it tries to
compile them (in lexicographic order, it appears) it bails with:
/opt/jdk1.2/bin/javac -d /usr/local/src/vtk2.4/java
../java/vtk/vtkActor2D.java
../java/vtk/vtkActor2D.java:7: Superclass vtk.vtkProp of class
vtk.vtkActor2D not found.
public class vtkActor2D extends vtkProp
^
1 error
*** Error code 1
make: Fatal error: Command failed for target
`../java/vtk/vtkActor2D.class'
I'm not a java expert but it seems there is some order dependency that
is not getting filled. Am I doing something wrong? This has happened
as long as I can remember but I have never really actually needed to
look at using them until now so I didn't pay much attention... My
user.make for the java looks like:
JDKHOME=/opt/jdk1.2
JAVAC=${JDKHOME}/bin/javac
JAVA_CLASS_HOME=/usr/local/src/vtk2.4/java
JAVAH=${JDKHOME}/bin/javah
JAVA_INCLUDES=-I${JDKHOME}/include -I${JDKHOME}/include/solaris
JAVA_CXX_LIB=/opt/lib/libiberty.a /opt/lib/libstdc++.a
/opt/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/libgcc.a
--
Bryan Van de Ven
Applied Research Labs
University of Texas, Austin
-----------------------------------------------------------------------------
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