[vtkusers] Compiling Problem of VTK with Java on Windows systems

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu May 19 12:58:32 EDT 2005


Tiger,

	Try turning VTK_USE_HYBRID=ON in your cmakecache.txt or through cmakesetup

HTH
Mathieu

Tiger Wings wrote:
> Hi all,
> 
> I downloaded the official version of VTK 4.2 and tried to compile it with
> Java wrapping on visual studio .Net.
> Here are the compiling problems:
> 
> Building Java Test C:/VTK/VTK/Wrapping/Java/ImagePlaneWidget.class
> C:\VTK\VTK\Wrapping\Java\vtk\vtkCanvas.java:12: cannot resolve symbol
> symbol  : class vtkPlaneWidget 
> location: class vtk.vtkCanvas
>   protected vtkPlaneWidget pw = new vtkPlaneWidget();
>             ^
> C:\VTK\VTK\Wrapping\Java\vtk\vtkCanvas.java:13: cannot resolve symbol
> symbol  : class vtkBoxWidget 
> location: class vtk.vtkCanvas
>   protected vtkBoxWidget bw = new vtkBoxWidget();
>             ^
> VTKJava - 1 error(s), 0 warning(s)
> 
> All of the other sub-projects are successfully built.
> vtk.jar is also created into /vtk/bin.
> 
> Thanks a lot.
> 
> T. W.
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list