Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater authored Jun 23, 2022
1 parent b79b3c4 commit 4c26de7
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,19 @@ Next, follow the platform specific instructions.
1. Install build dependencies
``` bash
sudo apt update
sudo apt install libxml2-dev libxrandr-dev libxinerama-dev \
sudo apt install build-essential libssl-dev \
libxml2-dev libxrandr-dev libxinerama-dev \
libxcursor-dev libxi-dev libglu1-mesa-dev \
freeglut3-dev mesa-common-dev gcc-10 g++-10
```
If your cmake version is less than 3.18, you will need to update it
as well
``` bash
cmake --version
3.16 # default on Ubunte 20.04 LTS
# if pip is present
pip install --update cmake
```
2. Add GCC10 as alternative to GCC and select it:
``` bash
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10
Expand Down Expand Up @@ -163,14 +172,6 @@ their Windows machine and use X11-forwarding to display the GUI.
export LIBGL_ALWAYS_INDIRECT=0
```

-----
:warning: Older versions required manually enforcing OpenGL versions using :warning:
```bash
export MESA_GL_VERSION_OVERRIDE=3.3
```
:warning: in newer versions this will cause failures. :warning:
-----

## MacOS

Please use a recent version of Clang, as installed by brew for example.
Expand Down

0 comments on commit 4c26de7

Please sign in to comment.