[vtk-developers] Patch for Bug #1997
Sean McInerney
seanm at nmr.mgh.harvard.edu
Wed Jun 29 21:44:07 EDT 2005
Hello again,
The original patch that I submitted omitted changes necessary in
vtkGenerateVTKConfig.cmake for installed VTK (as opposed to merely
built). I am attaching the "corrected" patch.
-Sean
Sean McInerney wrote:
> Hi All,
>
> The locations of vtkWrapPythonInit and vtkWrapJavaInit executables are
> not set within VTKConfig.cmake. Without these locations being set,
> external projects cannot make use of the VTK_WRAP_PYTHON3 and
> VTK_WRAP_JAVA3 macros.
>
> I am attaching a patch.
>
> -Sean
>
>
> ------------------------------------------------------------------------
>
> Index: VTKConfig.cmake.in
> ===================================================================
> RCS file: /cvsroot/VTK/VTK/VTKConfig.cmake.in,v
> retrieving revision 1.55
> diff -u -r1.55 VTKConfig.cmake.in
> --- VTKConfig.cmake.in 22 Jun 2005 19:45:42 -0000 1.55
> +++ VTKConfig.cmake.in 30 Jun 2005 00:39:56 -0000
> @@ -95,7 +95,9 @@
> SET(VTK_JAVA_JAR "@VTK_JAVA_JAR_CONFIG@")
> SET(VTK_PARSE_JAVA_EXE "@VTK_PARSE_JAVA_EXE_CONFIG@")
> SET(VTK_WRAP_JAVA_EXE "@VTK_WRAP_JAVA_EXE_CONFIG@")
> +SET(VTK_WRAP_JAVA_INIT_EXE "@VTK_WRAP_JAVA_INIT_EXE_CONFIG@")
> SET(VTK_WRAP_PYTHON_EXE "@VTK_WRAP_PYTHON_EXE_CONFIG@")
> +SET(VTK_WRAP_PYTHON_INIT_EXE "@VTK_WRAP_PYTHON_INIT_EXE_CONFIG@")
> SET(VTK_WRAP_TCL_EXE "@VTK_WRAP_TCL_EXE_CONFIG@")
> SET(VTK_WRAP_TCL_INIT_EXE "@VTK_WRAP_TCL_INIT_EXE_CONFIG@")
> SET(VTK_DOXYGEN_HOME "@VTK_DOXYGEN_HOME_CONFIG@")
> Index: vtkGenerateVTKConfig.cmake
> ===================================================================
> RCS file: /cvsroot/VTK/VTK/vtkGenerateVTKConfig.cmake,v
> retrieving revision 1.33
> diff -u -r1.33 vtkGenerateVTKConfig.cmake
> --- vtkGenerateVTKConfig.cmake 22 Jun 2005 19:45:42 -0000 1.33
> +++ vtkGenerateVTKConfig.cmake 30 Jun 2005 00:38:24 -0000
> @@ -55,7 +55,9 @@
> SET(VTK_JAVA_JAR_CONFIG "")
> SET(VTK_PARSE_JAVA_EXE_CONFIG "")
> SET(VTK_WRAP_JAVA_EXE_CONFIG "")
> +SET(VTK_WRAP_JAVA_INIT_EXE_CONFIG "")
> SET(VTK_WRAP_PYTHON_EXE_CONFIG "")
> +SET(VTK_WRAP_PYTHON_INIT_EXE_CONFIG "")
> SET(VTK_WRAP_TCL_EXE_CONFIG "")
> SET(VTK_WRAP_TCL_INIT_EXE_CONFIG "")
> IF(VTK_WRAP_TCL)
> @@ -65,10 +67,12 @@
> ENDIF(VTK_WRAP_TCL)
> IF(VTK_WRAP_PYTHON)
> SET(VTK_WRAP_PYTHON_EXE_CONFIG ${VTK_WRAP_PYTHON_EXE})
> + SET(VTK_WRAP_PYTHON_INIT_EXE_CONFIG ${VTK_WRAP_PYTHON_INIT_EXE})
> ENDIF(VTK_WRAP_PYTHON)
> IF(VTK_WRAP_JAVA)
> SET(VTK_PARSE_JAVA_EXE_CONFIG ${VTK_PARSE_JAVA_EXE})
> SET(VTK_WRAP_JAVA_EXE_CONFIG ${VTK_WRAP_JAVA_EXE})
> + SET(VTK_WRAP_JAVA_INIT_EXE_CONFIG ${VTK_WRAP_JAVA_INIT_EXE})
> SET(VTK_JAVA_JAR_CONFIG ${LIBRARY_OUTPUT_PATH}/vtk.jar)
> ENDIF(VTK_WRAP_JAVA)
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wrapping_init_exe_config.patch
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20050629/7d25d3d0/attachment.ksh>
More information about the vtk-developers
mailing list