[vtkusers] help ! vtkVectorText Error
Jeff Lee
jeff at cdnorthamerica.com
Fri Jan 10 07:28:41 EST 2003
Hi Henry,
vtkVectorText is in libvtkHybrid - vtkPanel doesn't load vtkHybrid. I
will put that in, but in the mean time you can just load it yourself in
a static block, or modify your copy of vtkPanel.java.
-Jeff
Henry Zhang wrote:
>Hello,
>
>When I tried to translate "marching.tcl" sample code into
>java, I got error from vtkVectorText. The error message
>is
>
>Exception in thread "main" java.lang.UnsatisiedLinkerError:VTKInit
> at vtk.vtkVectorText.VTKInit(Native Method)
> at vtk.vtkObject.<init>(vtkObject.java:97)
> at vtk.vtkProcessObject.<init>(vtkProcessObject.java:86)
> ...
> at vtk.vtkVectorText.<init>(vtkVectorText.java:26)
>
>
>Could some one please help me with that? My source code
>is given below
>
>public class transform extends Frame implements ActionListener {
>
> public transform(String title){
> super(title);
> init();
> enableEvents(AWTEvent.WINDOW_EVENT_MASK);
>
> vtkPanel renPanel = new vtkPanel();
> removeAll();
>
>
> vtkVectorText labelCase=new vtkVectorText();
> labelCase.SetText("Hello, the world");
>
> .....
>
> pack();
> }
>
>
>thanks a lot!
>
>Henry
>
>_______________________________________________
>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