On Mon, 11 Jan 2021 at 15:19, Benoit T. wrote:
>
>
> I have been able to compile OpenGl's examples directly on my machine, so I think the dev packages are installed. I have glew, glfw3, glm, all in dev mode, with their includes and libraries. Maybe I missed something there...
>
I can never remember what packages are needed... Here's what my Ubuntu
20.04 box has installed, for comparison...
~/source$ apt list --installed | grep "dev" | grep gl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libegl-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64 [installed,automatic]
libgl-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64 [installed,automatic]
libgl1-mesa-dev/focal-updates,now 20.2.6-0ubuntu0.20.04.1 amd64 [installed]
libgles-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64
[installed,automatic]
libglewmx-dev/focal,now 1.13.0-4ubuntu3 amd64 [installed]
libglib2.0-dev-bin/focal-updates,now 2.64.3-1~ubuntu20.04.1 amd64
[installed,automatic]
libglib2.0-dev/focal-updates,now 2.64.3-1~ubuntu20.04.1 amd64
[installed,automatic]
libglu1-mesa-dev/focal,now 9.0.1-1build1 amd64 [installed]
libglvnd-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64
[installed,automatic]
libglx-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64 [installed,automatic]
libopengl-dev/focal-updates,now 1.3.2-1~ubuntu0.20.04.1 amd64
[installed,automatic]
libxcb-glx0-dev/focal,now 1.14-2 amd64 [installed,auto-removable]
Clearly, that's a lot of packages, many of which you probably will not
need. I'd guess that the libglx package might be the key here?
I've been poking away on this machine for many years, so it has
accumulated a lot of "extras" along they way, I doubt that many of
these packages are really needed now!