

#Python vtk install cmake code#
The vtk code isĪlready packaged in Debian and has a lot of patches, but (This "VTK" folder isĪctually a git submodule in the upstream repo ). Postfix from the FFMPEG_VERSION CMake variable, please see fileīy the way, in ParaView's sources, there is a subdirectory "VTK" One workaround is to remove the additional version You try to "find_package(ParaView.)" in your own CMakeLists.txt, thenĬMake fails again. , because find_package's version format is In CMake variable FFMPEG_VERSION and then exports it to file This version in VTK/CMake/FindFFMPEG.cmake during build, stores it ParaView's CMake flag VTK_PYTHON_OPTIONAL_LINK must be OFF to fix vtkĪnother problem is, that FFMPEG_VERSION in libavutil/ffversion.h įrom Debian package libavutil-dev is "4.3-3+b2".
#Python vtk install cmake how to#
For some ideas how to fix those bugs, please see file When you try to import ParaView into your own code usingĬMake (and its find_package command), then CMake fails due to missingįiles. Hence ParaView'sĮxported CMake files cannot find those files at the original VtkClientServerPython.cpython-38-x86_64-linux-gnu.so. usr/bin/pvbatch3.8 to /usr/bin/pvbatch and then dh_python3 renames One set of bugs is caused by debian/rules, because it alters theįilesystem after it has build ParaView.

Here are my findings.įirst, the VCS repository is not up to date, it's missingĬommits: Salsa has 5.7.0-2, but Debian Sid has 5.7.0-4. New bugs were popping up as soon as i fixed one. Paraview-dev from Debian Testing/Sid is broken. Versions of packages paraview-dev depends on:ĭate: Thu, 12:17:35 +0200 Hello, Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8) Kernel: Linux 5.4.0-28-generic (SMP w/8 CPU cores) (upstream) juggled the entire cmake modules system.ĪPT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal') I believe that this directory is new with paraview-5.7, since they This means that the VTK-config.cmake is not found and the dev package The paraview-dev package does not install cmake files for the vtk
