Bug#979073: libvtk9-dev: RenderingContextOpenGL2 must be configured explicitly

Drew Parsons dparsons at debian.org
Sat Jan 2 14:13:01 GMT 2021


Package: libvtk9-dev
Version: 9.0.1+dfsg1-5
Severity: normal
Control: affects -1 src:avogadrolibs

I'm trying to build avogadrolibs with VTK support.  It uses
vtkRenderingContextOpenGL2, but this is not currently provided by
libvtk9-dev.

According to discussion at
https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933
apparently the VTK build now needs to specify RenderingContextOpenGL2
explicitly with -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES:
  cmake -DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES ..

Discussion there suggests it was automatically built in the past.
Build behaviour might have changed with commit f46c6717,
https://gitlab.kitware.com/vtk/vtk/-/commit/f46c67172e6dafd239a3fd19ae61490c96ede7dd


(there's some peripherally related discussion at
https://gitlab.kitware.com/vtk/vtk/-/issues/17584 )


Is it possible to enable RenderingContextOpenGL2 in the VTK build?



-- 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-1-amd64 (SMP w/8 CPU threads)
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 libvtk9-dev depends on:
ii  default-jdk                        2:1.11-72
ii  default-libmysqlclient-dev         1.0.6
ii  libavcodec-dev                     7:4.3.1-5
ii  libavformat-dev                    7:4.3.1-5
ii  libavutil-dev                      7:4.3.1-5
ii  libc6-dev                          2.31-6
ii  libdouble-conversion-dev           3.1.5-6.1
ii  libeigen3-dev                      3.3.9-1
ii  libexpat1-dev [libexpat-dev]       2.2.10-1
ii  libfreetype6-dev                   2.10.4+dfsg-1
ii  libgdal-dev                        3.2.0+dfsg-1
ii  libgl-dev                          1.3.2-1
ii  libgl1-mesa-dev                    20.2.6-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-1.1
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:2.0.5-1.1
ii  libjsoncpp-dev                     1.9.4-4
ii  liblz4-dev                         1.9.3-1
ii  libnetcdf-cxx-legacy-dev           4.2-12
ii  libnetcdf-dev                      1:4.7.4-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-5
ii  libtheora-dev                      1.1.1+dfsg.1-15
ii  libtiff-dev                        4.2.0-1
ii  libutfcpp-dev                      2.3.4-1.1
ii  libvtk9                            9.0.1+dfsg1-5
ii  libvtk9-java                       9.0.1+dfsg1-5
ii  libx11-dev                         2:1.6.12-1
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
ii  python3-vtk9                       9.0.1+dfsg1-5
ii  tcl-dev                            8.6.10
ii  tk-dev                             8.6.10
ii  vtk9                               9.0.1+dfsg1-5
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

libvtk9-dev recommends no packages.

Versions of packages libvtk9-dev suggests:
pn  vtk9-doc       <none>
pn  vtk9-examples  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list