[vtk-developers] MPI issue on hythloth.kitware?

Brad King brad.king at kitware.com
Tue Mar 17 13:22:59 EDT 2009


Philippe P. Pebay wrote:
> http://www.cdash.org/CDash/testDetails.php?test=18986510&build=293413

The problem is that vtkGraphics now depends on java libraries.

-Brad

Author: Jeffrey Baumes <jeff.baumes at kitware.com>
Date:   Fri Mar 13 16:06:39 2009 +0000

     ENH: Adding vtkJavaProgrammableFilter

     The filter allows a user to write a VTK algorithm in Java and use it from C++.
     It uses vtkJVMManager to manage an instance of the Java VM and
     to call functions through the JNI layer.

diff --git a/Graphics/CMakeLists.txt b/Graphics/CMakeLists.txt
index 420d585..5a2c7c6 100644
--- a/Graphics/CMakeLists.txt
+++ b/Graphics/CMakeLists.txt
@@ -4,6 +4,9 @@ SET(KIT_TCL_LIBS vtkFilteringTCL)
  SET(KIT_PYTHON_LIBS vtkFilteringPythonD)
  SET(KIT_JAVA_LIBS vtkFilteringJava)
  SET(KIT_LIBS vtkFiltering vtkverdict )
+IF (JAVA_AWT_LIBRARY)
+  SET(KIT_LIBS ${KIT_LIBS} ${JAVA_AWT_LIBRARY} ${JAVA_JVM_LIBRARY})
+ENDIF (JAVA_AWT_LIBRARY)
  SET( Kit_SRCS
  vtkAppendCompositeDataLeaves.cxx
  vtkAppendFilter.cxx



More information about the vtk-developers mailing list