TTK missing OpenGL dependency (observed on vanilla Ubuntu 20.04)
Hi there,
there seems to be a problem with the handling of the OpenGL dependency of TTK in the official binary release of ParaView 5.10.
To reproduce the issue:
- Install a vanilla Ubuntu LTS (20.04), for instance in a virtual machine (e.g. https://www.virtualbox.org/)
- Install the ParaView 5.10 Linux binary, downloaded from https://www.paraview.org/
- Run the
paraview
executable. Everything runs fine. - In
Tools
,Manage Plugins...
, load theTopologyToolKit
plugin.
An error message will occur. Something along the line:
Cannot find libOpenGL.so.0
Under Ubuntu, this can be fixed by entering the following command:
sudo apt-get install libopengl-dev
This is a simple workaround (although not optimal), but still TTK does not work out of the box for novice users
In short, it seems that the linking information related to OpenGL is not passed by ParaView's CMake down to TTK (indeed, ParaView runs fine and seems to have no problem with OpenGL itself).
Thanks for letting me know if you need any further information.
Best regards,