Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0fd54b9

Browse files
committed
Describe how to install libxxf86vm and libxi (fixes #275)
1 parent e167e83 commit 0fd54b9

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

en/02_Development_environment.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ operations, so we'll have to download one. [GLM](http://glm.g-truc.net/) is a
251251
nice library that is designed for use with graphics APIs and is also commonly
252252
used with OpenGL.
253253

254-
It is a header-only library that can be installed from the `libglm-dev` or
254+
It is a header-only library that can be installed from the `libglm-dev` or
255255
`glm-devel` package:
256256

257257
```bash
@@ -348,6 +348,20 @@ LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
348348

349349
The flag `-lglfw` is for GLFW, `-lvulkan` links with the Vulkan function loader and the remaining flags are low-level system libraries that GLFW needs. The remaining flags are dependencies of GLFW itself: the threading and window management.
350350

351+
It is possible that the `Xxf68vm` and `Xi` libraries are not yet installed on your system. You can find them in the following packages:
352+
353+
```bash
354+
sudo apt install libxxf86vm-dev libxi-dev
355+
```
356+
or
357+
```bash
358+
sudo dnf install libXi libXxf86vm
359+
```
360+
or
361+
```bash
362+
sudo pacman -S libxi libxxf86vm
363+
```
364+
351365
Specifying the rule to compile `VulkanTest` is straightforward now. Make sure to
352366
use tabs for indentation instead of spaces.
353367

0 commit comments

Comments
 (0)