[vtkusers] 'java.lang.UnsatisfiedLinkError: VTKInit' from VisualStudio build of VTK.

Some Developer somedeveloper at gmail.com
Fri May 5 08:44:07 EDT 2006


Hello,

I built Java and TCL wrappers for VTK 5.0.0 via VisualStudio 2003. Copied
the following DLLs

        cmVTK_GENERATE_JAVA_DEPENDENCIES.dll
        cmVTK_WRAP_JAVA2.dll
        cmVTK_WRAP_PYTHON2.dll
        cmVTK_WRAP_TCL2.dll
        vtkCommon.dll
        vtkCommonJava.dll
        vtkCommonTCL.dll
        vtkDICOMParser.dll
        vtkFiltering.dll
        vtkFilteringJava.dll
        vtkFilteringTCL.dll
        vtkGenericFiltering.dll
        vtkGenericFilteringJava.dll
        vtkGenericFilteringTCL.dll
        vtkGraphics.dll
        vtkGraphicsJava.dll
        vtkGraphicsTCL.dll
        vtkHybrid.dll
        vtkHybridJava.dll
        vtkHybridTCL.dll
        vtkIO.dll
        vtkIOJava.dll
        vtkIOTCL.dll
        vtkImaging.dll
        vtkImagingJava.dll
        vtkImagingTCL.dll
        vtkMPEG2Encode.dll
        vtkNetCDF.dll
        vtkRendering.dll
        vtkRenderingJava.dll
        vtkRenderingTCL.dll
        vtkVolumeRendering.dll
        vtkVolumeRenderingJava.dll
        vtkVolumeRenderingTCL.dll
        vtkWidgets.dll
        vtkWidgetsJava.dll
        vtkWidgetsTCL.dll
        vtkexoIIc.dll
        vtkexpat.dll
        vtkfreetype.dll
        vtkftgl.dll
        vtkjpeg.dll
        vtkpng.dll
        vtksys.dll
        vtktiff.dll
        vtkzlib.dll

from the build folder to c:\foo and included this in my PATH env variable.
Still I get

Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
    at vtk.vtkRenderer.VTKInit(Native Method)
    at vtk.vtkObject.<init>(vtkObject.java:90)
    at vtk.vtkViewport.<init>(vtkViewport.java:226)
    at vtk.vtkRenderer.<init>(vtkRenderer.java:338)
    at VtkTester.main(VtkTester.java:10)

when I try to run a very straightforward Cone sample program from the VTK
textbook. Can someone please advise if any DLLs failed to get built, or if
I'm missing something else very simple here?

Regards,
Some Developer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060505/f647393d/attachment.htm>


More information about the vtkusers mailing list