mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Add setup documentation for Alpine Linux (#7752)
Adds documentation for setting up bevy on Alpine Linux and its derivatives. It contains instructions on installing the required packages and also fixing runtime errors.
This commit is contained in:
parent
093d420bb0
commit
93d7328c6a
1 changed files with 21 additions and 0 deletions
|
@ -162,3 +162,24 @@ When using a NVIDIA GPU with the proprietary driver (eg. `x11-drivers/nvidia-dri
|
|||
sudo swupd bundle-add devpkg-alsa-lib
|
||||
sudo swupd bundle-add devpkg-libgudev
|
||||
```
|
||||
|
||||
## [Alpine Linux](https://alpinelinux.org/)
|
||||
|
||||
Run the following command to install `GNU C compiler, standard C development libraries, pkg-config, X11 development libraries, ALSA development libraries, eudev development libraries`:
|
||||
|
||||
```sh
|
||||
sudo apk add gcc libc-dev pkgconf libx11-dev alsa-lib-dev eudev-dev
|
||||
```
|
||||
|
||||
Install a GPU renderer for you graphics card. For Intel integrated GPUs:
|
||||
|
||||
```sh
|
||||
sudo apk add mesa-vulkan-intel
|
||||
```
|
||||
|
||||
If you have issues with `winit` such as `Failed to initialize backend!` or similar, try adding the following to your `~/.cargo/config.toml` (more information at the [issue #1818](https://github.com/rust-windowing/winit/issues/1818) of the [winit repository](https://github.com/rust-windowing/winit):
|
||||
|
||||
```toml
|
||||
[build]
|
||||
rustflags = ["-C", "target-feature=-crt-static"]
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue