Bug#981321: QVTKOpenGLWidget.h: No such file or directory

Drew Parsons dparsons at debian.org
Fri Jan 29 09:20:57 GMT 2021


Package: libvtk7-dev
Version: 7.1.1+dfsg2-8
Severity: normal

This is the VTK-7 counterpart for Bug#979306 filed against VTK-9.

As discussed there, avogadrolibs want to use QVTKOpenGLWidget, so this VTK
component is required to activate VTK in avogadro.

VTK-9 made major changes to the way applications configure cmake to
build against it. So it will take time for applications to update to
VTK-9 (I filed https://github.com/OpenChemistry/avogadrolibs/issues/516
for avogadrolibs).

Hence in the meantime I'm testing builds of avogadrolibs against
VTK-7, but coming against the same kind of problem raised in #979306

cd /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/avogadrolibs-1.93.0+git20201104.926573b /build/avogadrolibs-1.93.0+git20201104.926573b/avogadro/qtplugins/commandscripts /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu/avogadro/qtplugins/commandscripts /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu/avogadro/qtplugins/commandscripts/CMakeFiles/commands.dir/DependInfo.cmake --color=
In file included from /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/EWIEGA46WW/moc_vtkglwidget.cpp:10,
                 from /build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/mocs_compilation.cpp:2:
/build/avogadrolibs-1.93.0+git20201104.926573b/obj-x86_64-linux-gnu/avogadro/vtk/AvogadroVtk_autogen/EWIEGA46WW/../../../../../avogadro/vtk/vtkglwidget.h:22:10: fatal error: QVTKOpenGLWidget.h: No such file or directory
   22 | #include <QVTKOpenGLWidget.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [avogadro/vtk/CMakeFiles/AvogadroVtk.dir/build.make:85: avogadro/vtk/CMakeFiles/AvogadroVtk.dir/AvogadroVtk_autogen/mocs_compilation.cpp.o] Error 1


libvtk9-qt-dev provides QVTKOpenGLStereoWidget.h (Bug#979306 is about
also providing QVTKOpenGLWidget.h as a deprecated header)

But libvtk7-qt-dev does not provide any QVTKOpenGL*
Does it need more configuration similar to what was done for
Bug#979073 ?

Cheers,
Drew

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvtk7-dev depends on:
ii  default-libmysqlclient-dev         1.0.6
ii  libavcodec-dev                     7:4.3.1-7
ii  libavformat-dev                    7:4.3.1-7
ii  libavutil-dev                      7:4.3.1-7
ii  libc6-dev                          2.31-9
ii  libeigen3-dev                      3.3.9-2
ii  libexpat1-dev [libexpat-dev]       2.2.10-1
ii  libfreetype6-dev                   2.10.4+dfsg-1
ii  libgdal-dev                        3.2.1+dfsg-1
ii  libgl-dev                          1.3.2-1
ii  libgl1-mesa-dev                    20.3.3-1
ii  libgl2ps-dev                       1.4.2+dfsg1-1
ii  libglew-dev                        2.1.0-4+b1
ii  libglu1-mesa-dev [libglu-dev]      9.0.1-1
ii  libhdf5-mpi-dev                    1.10.6+repack-2
ii  libjpeg-dev                        1:2.0.5-2
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:2.0.5-2
ii  libjsoncpp-dev                     1.9.4-4
ii  libnetcdf-cxx-legacy-dev           4.2-12
ii  libnetcdf-dev                      1:4.7.4-1
ii  libogg-dev                         1.3.4-0.1
ii  libpng-dev                         1.6.37-3
ii  libpq-dev                          13.1-1+b1
ii  libproj-dev                        7.2.1-1
ii  libpython3-dev                     3.9.1-1
ii  libswscale-dev                     7:4.3.1-7
ii  libtheora-dev                      1.1.1+dfsg.1-15
ii  libtiff-dev                        4.2.0-1
pn  libvtk7-java                       <none>
pn  libvtk7.1p                         <none>
ii  libx11-dev                         2:1.7.0-2
ii  libxft-dev                         2.3.2-2
ii  libxml2-dev                        2.9.10+dfsg-6.3+b1
ii  libxss-dev                         1:1.2.3-1
ii  libxt-dev                          1:1.2.0-1
ii  mpi-default-dev                    1.13
pn  python3-vtk7                       <none>
ii  python3-zope.interface             5.2.0-1
ii  tcl-dev                            8.6.11
pn  tcl-vtk7                           <none>
ii  tk-dev                             8.6.11
pn  vtk7                               <none>
ii  x11proto-core-dev                  2020.1-1
ii  x11proto-dev [x11proto-core-dev]   2020.1-1
ii  zlib1g-dev                         1:1.2.11.dfsg-2

libvtk7-dev recommends no packages.

Versions of packages libvtk7-dev suggests:
pn  vtk7-doc       <none>
pn  vtk7-examples  <none>



More information about the debian-science-maintainers mailing list