[vtkusers] vtk & java
Nash'at Ahmad
NASH'AT.AHMAD at saic.com
Sat Mar 2 17:50:32 EST 2002
I have been trying to get vtk 4.0 working with java for quite some time
now -
On Linux (RedHat 6.2) and Blackdown jdk1.2, I get the following errors
on compilation:
/home/nashat/vis/vtk/VTK/Imaging/vtkImageReslice.cxx: In function `void
vtkGetResliceInterpFunc<float>(class vtkImageReslice *, int (**)(void
*&, const void *, const int *, const int *, int, const float *, int,
const void *))':
/home/nashat/vis/vtk/VTK/Imaging/vtkImageReslice.cxx:1708:
instantiated from here
/home/nashat/vis/vtk/VTK/Imaging/vtkImageReslice.cxx:1449: Internal
compiler error.
/home/nashat/vis/vtk/VTK/Imaging/vtkImageReslice.cxx:1449: Please submit
a full bug report to `egcs-bugs at egcs.cygnus.com'.
/home/nashat/vis/vtk/VTK/Imaging/vtkImageReslice.cxx:1449: See
<URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[3]: *** [vtkImageReslice.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Imaging] Error 2
make: *** [default_target] Error 2
And on Windows98 using jdk1.3 (install via the VTK CD-ROM which comes
with the User Guide),
I am able to compile the program Cone.java but when I try to run it I
get the following error:
Exception in thread "main" java.lang.UnstatisfiedLinkError:
C:\Program Files\vtk40\bin\vtkCommonJava.dll: A device attached to the
system is not functioning
at Java.lang.ClassLoader$NativeLibrary.load(Native Method)
at Java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1419)
at Java.lang.ClassLoader.loadLibrary(ClassLoader.java:1343)
at Java.lang.Runtime.loadLibrary0(Runtime.java:749)
at Cone.<clinit>(Cone.java:17)
Question: Does VTK even work with Java and if yes then what is missing
in what I am doing -
I am following the procedure given in the User Guide.
Thanks in advance.
More information about the vtkusers
mailing list