300 | | 1. Enable OpenGL support in SDL. With GNU tools, OpenGL support will be detected automatically by the "configure" script. Make sure that the "configure" output shows that OpenGL has been detected, by looking for line like this in the output: |
301 | | {{{ |
302 | | checking for OpenGL (GLX) support... yes |
303 | | }}} |
| 300 | - Alternatively, you can use libgl-dev which is smaller. Please note that since Ubuntu 14.04 LTS, libsdl2-dev is available which comes with libgl-dev automatically, so it might not be needed anymore. |
| 301 | {{{ |
| 302 | $ sudo apt-get install libgl-dev |
| 303 | }}} |