[vtk-developers] [VTK 0014157]: Allow compilation of ParaView with external VTK
Mantis Bug Tracker
mantis at public.kitware.com
Fri Jun 28 18:31:26 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=14157
======================================================================
Reported By: Orion Poplawski
Assigned To:
======================================================================
Project: VTK
Issue ID: 14157
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: incorrect functionality
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2013-06-28 18:31 EDT
Last Modified: 2013-06-28 18:31 EDT
======================================================================
Summary: Allow compilation of ParaView with external VTK
Description:
We need to be able to build ParaView with an external VTK. First issue
encountered was:
CMake Error at CMake/ParaViewModuleTop.cmake:61 (include):
include could not find load file:
vtkGroups
Call Stack (most recent call first):
CMakeLists.txt:495 (include)
CMake Error at CMake/ParaViewModuleTop.cmake:184 (include):
include could not find load file:
TopologicalSort
This can be fixed by installing those files. The attached patch fixes that.
Next issue is:
CMake Error: File /Wrapping/Java/JavaDependencies.cmake.in does not exist.
CMake Error at /usr/lib64/cmake/vtk/vtkWrapJava.cmake:162 (CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
/usr/lib64/cmake/vtk/vtkJavaWrapping.cmake:40 (vtk_wrap_java3)
/usr/lib64/cmake/vtk/vtkWrapping.cmake:67 (vtk_add_java_wrapping)
/usr/lib64/cmake/vtk/vtkModuleMacros.cmake:565 (vtk_add_wrapping)
ParaViewCore/VTKExtensions/Core/CMakeLists.txt:81 (vtk_module_library)
Two issues - JavaDependencies.cmake.in is not installed, and vtkWrapJava.cmake
is not looking for it in the correct place. Code is:
SET(dir ${CMAKE_CURRENT_SOURCE_DIR})
IF(VTK_WRAP_JAVA3_INIT_DIR)
SET(dir ${VTK_WRAP_JAVA3_INIT_DIR})
ENDIF(VTK_WRAP_JAVA3_INIT_DIR)
CONFIGURE_FILE("${dir}/JavaDependencies.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/JavaDependencies.cmake" IMMEDIATE @ONLY)
>From vtkJavaWrapping.cmake:
set(VTK_WRAP_JAVA3_INIT_DIR "${VTK_SOURCE_DIR}/Wrapping/Java")
So it looks like this is just not capable of being run outside of the VTK source
tree.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-06-28 18:31 Orion PoplawskiNew Issue
2013-06-28 18:31 Orion PoplawskiFile Added: vtk-install.patch
======================================================================
More information about the vtk-developers
mailing list