[vtkusers] VTK Java Example: Compilation Errors
Brian Hogg
vtkusers at bhconsulting.ca
Fri Oct 27 23:51:57 EDT 2006
Hi all,
I'm trying to get various VTK + Java examples to compile, but I continue
to get frustrating error messages, such as:
"Type mismatch: cannot convert from vtkImageData to vtkImageData"
"The method setSize(vtkPanel, int, int) in the type VtkPanelUtil is not
applicable for the arguments (vtkPanel, int, int)"
and
"The return type is incompatible with
VtkPanelContainer.getRenWin()" (when overloading an abstract method, and
the return type - vtkPanel - is identical).
Obviously these error messages don't make any sense. I'm using VTK 5.0
and the Eclipse IDE, and have the library/source paths included
(hopefully) correctly, to the point where import vtk.* is recognized and
I receive syntax assistance for vtk functions.
Thanks,
Brian
More information about the vtkusers
mailing list