Skip to content

Draft: Link self-compiled VTK version

Max Lübke requested to merge ml into master

1. What this MR does / why we need it:

  • Compile and link VTK during package creation/installation
  • avoid problems with VTK when upgraded by distribution package etc.
  • remove unnecessary build-time dependencies (MPI, HDF5 ...)

2. Steps done

  • configure script is updated to latest version (used by RcppBTCS etc.) and sets a desired VTK version
  • Edited CMake file to pull in VTK source code to desired version and links RcppVTK to necessary VTK targets
  • cleanup of source files

3. TODOs

  • use compiler flags provided by R
  • outsource VTK specific options configure script toCMakeLists.txt

4. Caution

I did not test the functionality of the package at all. So maybe you can give it a quick try @delucia 🙂

Edited by Max Lübke

Merge request reports