[vtkusers] problem compiling with Linux/Java

Randy Cone cone at hpl.umces.edu
Mon Jun 9 13:43:10 EDT 2003


folks,

I'm on a i386 linux box (RH8.0) and am trying to compile VTK-4.2.2 with
java.  I've used both the 1.4.1_03 and 1.3.1_08 java kits, but to no
avail.  VTK compiles okay without any additional wrappers.

The failure looks like:

[...]

Building Java Test /usr/space/VTK-4.2.2/Wrapping/Java/TestVTKCanvas.class...
/usr/space/VTK-4.2.2/Wrapping/Java/vtk/vtkCanvas.java:12: cannot resolve
symbol
symbol  : class vtkPlaneWidget
location: class vtk.vtkCanvas
  protected vtkPlaneWidget pw = new vtkPlaneWidget();
            ^
/usr/space/VTK-4.2.2/Wrapping/Java/vtk/vtkCanvas.java:13: cannot resolve
symbol
symbol  : class vtkBoxWidget
location: class vtk.vtkCanvas
  protected vtkBoxWidget bw = new vtkBoxWidget();
            ^
/usr/space/VTK-4.2.2/Wrapping/Java/vtk/vtkCanvas.java:12: cannot resolve
symbol
symbol  : class vtkPlaneWidget
location: class vtk.vtkCanvas
  protected vtkPlaneWidget pw = new vtkPlaneWidget();
                                    ^
/usr/space/VTK-4.2.2/Wrapping/Java/vtk/vtkCanvas.java:13: cannot resolve
symbol
symbol  : class vtkBoxWidget
location: class vtk.vtkCanvas
  protected vtkBoxWidget bw = new vtkBoxWidget();
                                  ^
4 errors
make[3]: *** [/usr/space/VTK-4.2.2/Wrapping/Java/TestVTKCanvas.class]
Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_Java] Error 2
make: *** [default_target] Error 2


Thanks,
RC

Randy Cone
Horn Point Laboratory
University of Maryland Center for Environmental Science
phone#: 410-221-8330	fax#:410-221-8490



More information about the vtkusers mailing list