Error loading VTK libraries in Java

1

I'm using the VTK (8.1.1) 3D visualization system through its interfaces with the Java programming language in the operating system Ubuntu 18.04. Follow the steps described in this tutorial to configure and install VTK. I was able to run the example provided by the tutorial, but even though it works, it following error message on the terminal:

java.lang.UnsatisfiedLinkError: no vtkFiltersPythonJava in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
    at java.lang.Runtime.loadLibrary0(Runtime.java:870)
    at java.lang.System.loadLibrary(System.java:1122)
    at vtk.vtkNativeLibrary.LoadLibrary(vtkNativeLibrary.java:243)
    at vtk.vtkNativeLibrary.LoadAllNativeLibraries(vtkNativeLibrary.java:178)
    at DemoJavaVTK.<clinit>(DemoJavaVTK.java:52)

vtkAcceleratorsVTKmJava not loaded
vtkDomainsMicroscopyJava not loaded
vtkFiltersOpenTurnsJava not loaded
vtkFiltersParallelDIY2Java not loaded
vtkFiltersParallelFlowPathsJava not loaded
vtkFiltersParallelGeometryJava not loaded
vtkFiltersParallelMPIJava not loaded
vtkFiltersParallelStatisticsJava not loaded
vtkFiltersParallelVerdictJava not loaded
vtkFiltersPythonJava not loaded
vtkFiltersReebGraphJava not loaded
vtkIOADIOSJava not loaded
vtkIOExportOpenGLJava not loaded
vtkIOFFMPEGJava not loaded
vtkIOGDALJava not loaded
vtkIOGeoJSONJava not loaded
vtkIOLASJava not loaded
vtkIOMPIImageJava not loaded
vtkIOMPIParallelJava not loaded
vtkIOMySQLJava not loaded
vtkIOODBCJava not loaded
vtkIOPDALJava not loaded
vtkIOParallelExodusJava not loaded
vtkIOParallelLSDynaJava not loaded
vtkIOParallelNetCDFJava not loaded
vtkIOParallelXdmf3Java not loaded
vtkIOPostgreSQLJava not loaded
vtkIOSegYJava not loaded
vtkIOTRUCHASJava not loaded
vtkIOVPICJava not loaded
vtkIOXdmf2Java not loaded
vtkIOXdmf3Java not loaded
vtkImagingOpenGL2Java not loaded
vtkInfovisBoostGraphAlgorithmsJava not loaded
vtkParallelMPIJava not loaded
vtkParallelMPI4PyJava not loaded
vtkRenderingContextOpenGLJava not loaded
vtkRenderingExternalJava not loaded
vtkRenderingGL2PSJava not loaded
vtkRenderingLICJava not loaded
vtkRenderingLICOpenGL2Java not loaded
vtkRenderingMatplotlibJava not loaded
vtkRenderingOSPRayJava not loaded
vtkRenderingOculusJava not loaded
vtkRenderingOpenGLJava not loaded
vtkRenderingOpenVRJava not loaded
vtkRenderingOptiXJava not loaded
vtkRenderingParallelJava not loaded
vtkRenderingParallelLICJava not loaded
vtkRenderingQtJava not loaded
vtkRenderingSceneGraphJava not loaded
vtkRenderingVolumeAMRJava not loaded
vtkRenderingVolumeOpenGLJava not loaded
vtkPythonInterpreterJava not loaded

I could not find any of the libraries mentioned in the error message in my file system and looking for the error in Google the most I found were people who had a similar problem but no solution. Apparently I could simply ignore the error, but wanted to understand what is happening and solve it to avoid future problems. Why can not I find these libraries? Is it a problem during the VTK build / install process?
It is worth pointing out that I configured LD_LIBRARY_PATH by adding the path to the VTK shared libraries (files of type lib * .so) and most libraries are loaded normally, since the program works.

    
asked by anonymous 23.05.2018 / 00:32

0 answers