<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Where can I find a compete set of instructions for 
making VTK work with Java and Python on a Windows machine?&nbsp; I have 
installed the vtkcore, vtkjava and vtkpython binaries, but have not gotten 
anything to work yet.&nbsp; I can't find any documentation about what paths to 
change, what libraries to link, etc except for tidbits of information I have 
found in the mailing list.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regarding Java:</FONT></DIV>
<DIV><FONT face=Arial size=2>I have set my classpath to include vtk.jar, and I 
loaded all the libraries I can think of in a static constructor.&nbsp; However, 
when I create a vtkRenederWindow, I get the VTKInit unsatisfied link 
error.&nbsp; Here is my code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>import vtk.*;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>public class test<BR>{<BR>&nbsp; static 
{<BR>&nbsp;&nbsp;&nbsp; 
System.loadLibrary("vtkCommonJava");<BR>&nbsp;&nbsp;&nbsp; 
System.loadLibrary("vtkFilteringJava");<BR>&nbsp;&nbsp;&nbsp; 
System.loadLibrary("vtkIOJava");<BR>&nbsp;&nbsp;&nbsp; 
System.loadLibrary("vtkImagingJava");<BR>&nbsp;&nbsp;&nbsp; 
System.loadLibrary("vtkGraphicsJava");<BR>&nbsp; }</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; public static void main( String[] args 
)<BR>&nbsp; {<BR>&nbsp;&nbsp;&nbsp; vtkRenderWindow renwin = new 
vtkRenderWindow();<BR>&nbsp;&nbsp;&nbsp; renwin.Render();<BR>&nbsp; 
}<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>and here is the error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Exception in thread "main" 
java.lang.UnsatisfiedLinkError: 
VTKInit<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
vtk.vtkRenderWindow.VTKInit(Native 
Method)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at 
vtk.vtkObject.&lt;init&gt;(vtkObject.java:97)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
at 
vtk.vtkWindow.&lt;init&gt;(vtkWindow.java:146)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
at 
vtk.vtkRenderWindow.&lt;init&gt;(vtkRenderWindow.java:350)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
at test.main(test.java:18)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regarding Python:</FONT></DIV>
<DIV><FONT face=Arial size=2>I went in the registry and set my PythonPath to 
include both VTK\Wrapping\Python and VTK\bin.&nbsp; However, neither one of 
these work as I still cannot import a single module/library in Python.&nbsp; I 
have seen all kinds of things about copying your .dll's to multiple locations, 
renaming vtkpython.py to __init__.py, etc.&nbsp; Is there anything that will 
actually work?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp; Josh</FONT></DIV></BODY></HTML>