[vtkusers] problem compiling with Linux/Java

Jeff Lee jeff at cdnorthamerica.com
Mon Jun 9 13:58:28 EDT 2003


did you enable Hybrid from cmake?
-Jeff

Randy Cone wrote:

>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
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>  
>




More information about the vtkusers mailing list