[vtkusers] help ! vtkVectorText Error

Henry Zhang henry.zhang at ualberta.ca
Fri Jan 10 00:49:54 EST 2003


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




More information about the vtkusers mailing list