[vtkusers] compilation failure on OSX
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed Nov 23 10:03:23 EST 2005
> /usr/local/VTK-CVS/VTK/build-java/java/vtk/../vtk/vtkTextWidget.java:
> 23: GetRepr
> esentation() in vtk.vtkTextWidget cannot override GetRepresentation()
> in vtk.vtk
> BorderWidget; attempting to use incompatible return type
> found : vtk.vtkTextRepresentation
> required: vtk.vtkBorderRepresentation
> public vtkTextRepresentation GetRepresentation()
> ^
> 3 errors
> make[2]: *** [java/vtk/vtkBuildAllDriver.class] Error 1
> make[1]: *** [Wrapping/Java/CMakeFiles/VTKBuildAll.dir/all] Error 2
>
> Any help appreciated.
Until recently Java did not support Covariant return type:
http://java.sun.com/developer/JDCTechTips/2004/tt1201.html#2
So for now I'd suggest you turn Java OFF. If you really need Java and
VTK CVS, please send me a private email.
Mathieu
More information about the vtkusers
mailing list