[vtkusers] Compilation problem with java

Olivier Coulon o.coulon at cs.ucl.ac.uk
Tue Jun 13 05:58:03 EDT 2000


Dear vtk users,

I'm trying to compile vtk3.1 on Solaris2.7 using the --with-java option
and I get an error as soon as the compilation of the java classes
starts.  it seems that the compiler cannot find the vtkProp class while
compiling vtkActor2D, which is weird because the two files are in the
same directory.
Somebody has an idea what goes wrong ?

- Olivier


Here is the messages I get:

rm -f ../java/vtk/vtkObjectFactoryCollection.java;
/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/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
/opt/ucl/bin/javac -sourcepath
/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/java/vtk -d
/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/VTKJavaClasses
../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
make[1]: *** [../java/vtk/vtkActor2D.class] Error 1
make[1]: Leaving directory
`/scratch0/NOT_BACKED_UP/ucacdxa/TCLTk/vtk31/common'
make: *** [build_common] Error 2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: o.coulon.vcf
Type: text/x-vcard
Size: 357 bytes
Desc: Card for Olivier Coulon
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20000613/93ab8a83/attachment-0001.vcf>


More information about the vtkusers mailing list