Skip to content

Commit 051baf8

Browse files
authored
Update WSL instructions in glmakie.md (#5537)
Update some formatting
1 parent d780d8b commit 051baf8

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

docs/src/explanations/backends/glmakie.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,28 +137,34 @@ From: [Microsoft/WSL/issues/2855](https://github.com/Microsoft/WSL/issues/2855#i
137137
WSL runs OpenGL alright, but it is not a supported scenario.
138138
From a clean Ubuntu install from the store do:
139139

140-
```
141-
sudo apt install ubuntu-desktop mesa-utils
140+
```sh
141+
sudo apt install -y ubuntu-desktop mesa-utils
142142
export DISPLAY=localhost:0
143143
glxgears
144144
```
145145

146146
On the Windows side:
147147

148148
1) install [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
149-
2) choose multiple windows -> display 0 -> start no client -> disable native opengl
149+
2) choose multiple windows display 0 start no client disable native OpenGL
150150

151151
Troubleshooting:
152152

153153
1. install:
154154

155155
```sh
156-
sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
156+
sudo apt install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
157157
```
158158

159-
2. WSL has some problems with passing through localhost, so one may need to use: `export DISPLAY=192.168.178.31:0`, with the local ip of the pcs network adapter, which runs VcXsrv
159+
2. WSL has some problems with passing through localhost, so one may need to use: `export DISPLAY=192.168.178.31:0`, with the local IP of the PC's network adapter, which runs VcXsrv
160+
161+
3. One may also need
162+
163+
```sh
164+
mv /opt/julia-1.5.2/lib/julia/libstdc++.so.6 /opt/julia-1.5.2/lib/julia/libcpp.backup
165+
```
160166

161-
3. One may need `mv /opt/julia-1.5.2/lib/julia/libstdc++.so.6 /opt/julia-1.5.2/lib/julia/libcpp.backup`, another form of [GLFW#198](https://github.com/JuliaGL/GLFW.jl/issues/198)
167+
another form of [GLFW.jl#198](https://github.com/JuliaGL/GLFW.jl/issues/198)
162168

163169
## GLMakie does not show Figure or crashes on full screen mode on macOS
164170

0 commit comments

Comments
 (0)