[vtkusers] VTK 6.2 Java Standalone Application
Sebastien Jourdain
sebastien.jourdain at kitware.com
Fri Feb 12 22:29:35 EST 2016
Can you explain what you've done?
- setting of your env PATH?
- what command line did you ran?
- which dir contain what...
Just so we can understand what you are missing...
Seb
On Fri, Feb 12, 2016 at 4:21 PM, Setegn, Manny <setegn.2 at buckeyemail.osu.edu
> wrote:
> It is an unsatisfied link error where it cannot find all of the vtk
> dependent libraries. The exact error is as follows (over all VTK
> libraries, but this is just one example):
>
> java.lang.UnsatisfiedLinkError: C:\Program
> Files\VTK\bin\vtkRenderingOpenGLJava.
> dll: Can't find dependent libraries
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
> at java.lang.Runtime.loadLibrary0(Runtime.java:870)
> at java.lang.System.loadLibrary(System.java:1122)
> at vtk.vtkNativeLibrary.LoadLibrary(vtkNativeLibrary.java:225)
> at
> vtk.vtkNativeLibrary.LoadAllNativeLibraries(vtkNativeLibrary.java:160
> )
>
> It does this for the following libraries:
>
> vtkAcceleratorsDaxJava not loaded
> vtkAcceleratorsPistonJava not loaded
> vtkChartsCoreJava not loaded
> vtkDomainsChemistryJava not loaded
> vtkDomainsChemistryOpenGL2Java not loaded
> vtkFiltersParallelFlowPathsJava not loaded
> vtkFiltersParallelGeometryJava not loaded
> vtkFiltersParallelMPIJava not loaded
> vtkFiltersParallelStatisticsJava not loaded
> vtkFiltersReebGraphJava not loaded
> vtkFiltersStatisticsGnuRJava not loaded
> vtkGeovisCoreJava not loaded
> vtkInfovisBoostGraphAlgorithmsJava not loaded
> vtkInfovisParallelJava not loaded
> vtkInteractionStyleJava not loaded
> vtkInteractionWidgetsJava not loaded
> vtkIOADIOSJava not loaded
> vtkIOExportJava not loaded
> vtkIOFFMPEGJava not loaded
> vtkIOGDALJava not loaded
> vtkIOGeoJSONJava not loaded
> vtkIOMPIImageJava not loaded
> vtkIOMPIParallelJava not loaded
> vtkIOMySQLJava not loaded
> vtkIOODBCJava not loaded
> vtkIOParallelExodusJava not loaded
> vtkIOParallelLSDynaJava not loaded
> vtkIOParallelNetCDFJava not loaded
> vtkIOPostgreSQLJava not loaded
> vtkIOVPICJava not loaded
> vtkIOXdmf2Java not loaded
> vtkIOXdmf3Java not loaded
> vtkParallelMPIJava not loaded
> vtkRenderingAnnotationJava not loaded
> vtkRenderingContext2DJava not loaded
> vtkRenderingContextOpenGLJava not loaded
> vtkRenderingContextOpenGL2Java not loaded
> vtkRenderingCoreJava not loaded
> vtkRenderingExternalJava not loaded
> vtkRenderingFreeTypeJava not loaded
> vtkRenderingFreeTypeOpenGLJava not loaded
> vtkRenderingFreeTypeOpenGL2Java not loaded
> vtkRenderingImageJava not loaded
> vtkRenderingLabelJava not loaded
> vtkRenderingLICJava not loaded
> vtkRenderingLODJava not loaded
> vtkRenderingMatplotlibJava not loaded
> vtkRenderingOpenGLJava not loaded
> vtkRenderingOpenGL2Java not loaded
> vtkRenderingParallelJava not loaded
> vtkRenderingParallelLICJava not loaded
> vtkRenderingQtJava not loaded
> vtkRenderingVolumeJava not loaded
> vtkRenderingVolumeAMRJava not loaded
> vtkRenderingVolumeOpenGLJava not loaded
> vtkRenderingVolumeOpenGL2Java not loaded
> vtkRenderingVolumeOpenGLNewJava not loaded
> vtkTestingRenderingJava not loaded
> vtkPythonInterpreterJava not loaded
> vtkViewsContext2DJava not loaded
> vtkViewsGeovisJava not loaded
> vtkViewsInfovisJava not loaded
> vtkWebCoreJava not loaded
> vtkWebGLExporterJava not loaded
>
> It is finding the folder with the dll, yet it is still not loading the
> dll's correctly. I have moved the vtk jar out of the jar I am trying to
> run and placed it, and the other jars, in a separate folder.
>
> ________________________________________
> From: vtkusers <vtkusers-bounces at vtk.org> on behalf of vincentrivola <
> vincentrivola at hotmail.com>
> Sent: Monday, February 8, 2016 12:57 AM
> To: vtkusers at vtk.org
> Subject: Re: [vtkusers] VTK 6.2 Java Standalone Application
>
> If you are trying to use the jar you created on a different machine,
> indeed,
> you should make sure that all the Visual Studio redistruables has been
> installed on this machine.
>
> If it's not working on your own machine (where you made the VTK
> compilation), it is often a problem of finding the java dll, like jawt.dll
> for instance.
>
> In any case you can use dependency walker in order to find out which exact
> dll is missing.
>
> good luck
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/VTK-6-2-Java-Standalone-Application-tp5736419p5736423.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160212/a18f35d1/attachment.html>
More information about the vtkusers
mailing list