Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 2,001
    • Issues 2,001
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #14157
Closed
Open
Issue created Jun 27, 2013 by Kitware Robot@kwrobotOwner

Allow compilation of ParaView with external VTK

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking