Skip to content

Commit 0dd00e9

Browse files
authored
Note on compiling on FreeBSD (#15232)
The hgame kernel module is necessary to load on start up, otherwise, Bevy will crash. Adding a note to the docs to help anyone struggling with this.
1 parent 23a77ca commit 0dd00e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/linux_dependencies.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,11 @@ sudo eopkg it wayland-devel libxkbcommon-devel
205205
```
206206

207207
Compiling with clang is also possible - replace the `g++` package with `llvm-clang`
208+
209+
## [FreeBSD](https://www.freebsd.org/)
210+
211+
It is necessary to have the hgame module loaded in order to satisfy gli-rs. It will still throw an error, but the program should run successfully. You can make sure the kernel module is loaded on start up by adding the following line to /boot/loader.conf:
212+
213+
```sh
214+
hgame_load="YES"
215+
```

0 commit comments

Comments
 (0)