Skip to content

Commit

Permalink
Note on compiling on FreeBSD (bevyengine#15232)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adrylain authored Sep 16, 2024
1 parent 23a77ca commit 0dd00e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/linux_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,11 @@ sudo eopkg it wayland-devel libxkbcommon-devel
```

Compiling with clang is also possible - replace the `g++` package with `llvm-clang`

## [FreeBSD](https://www.freebsd.org/)

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:

```sh
hgame_load="YES"
```

0 comments on commit 0dd00e9

Please sign in to comment.