Failed to compile wxWidget 3.0.5, OpenGL libraries not available

Viewed 1088

I am trying to compile wxWidget on Ubuntu 20.04, but I have run into some errors.

I have installed gtk3 with the following command which was suggested in the documentation: sudo apt install libgtk-3-dev

Running ../configure --with-gtk=3 --with-opengl gives an error:

checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking for GL/glu.h... no
configure: error: OpenGL libraries not available

Is their anything I am missing?

1 Answers
Related