Skip to content

Instantly share code, notes, and snippets.

View oblaser's full-sized avatar
:electron:
Computers are like submarines, everything is fine until you open a window.

Oliver Blaser oblaser

:electron:
Computers are like submarines, everything is fine until you open a window.
View GitHub Profile
@oblaser
oblaser / opengl-in-wsl.md
Created May 22, 2024 12:58 — forked from Mluckydwyer/opengl-in-wsl.md
Install OpenGL on Ubuntu in WSL

How to Install OpenGL in Ubuntu in WSL2

These steps have been tested on Windows 10 with WSL2 running Ubuntu.

1. Dependencies

First install the dependencies:

apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev

There are more than we need, but also include GLut and Glu libraries to link aginst during compilation for application development (these can be removed if that functionality is not required).