Destroyed FreeBSD (markdown)

Hajime Hoshi 2019-03-23 23:40:01 +09:00
parent 1c42fed6f9
commit a4447db546

@ -1,36 +0,0 @@
# Set up desktop environment
Ebiten requires X Window system and you need to install a window manager like gnome3. See [the official manual](https://www.freebsd.org/doc/handbook/x11-wm.html). Note that you also need to do `pkg install xorg`.
# Set up environment variables
On FreeBSD, `/usr/local/*` is not used by compilers by default. Set up some environment variables.
```
export C_INCLUDE_PATH=/usr/local/include:${C_INCLUDE_PATH}
export CPLUS_INCLUDE_PATH=/usr/local/include:${CPLUS_INCLUDE_PATH}
export LIBRARY_PATH=/usr/local/lib:${LIBRARY_PATH}
```
# Install dependencies
Install Go via `pkg` command or [the official site](https://golang.org/).
```
pkg install go1.11
```
Git is required.
```
pkg install git
```
OpenAL is required for Ebiten's audio package. Note that the `openal` package is pretty old and doesn't work. Install `openal-soft` instead.
```
pkg install openal-soft
```
That's it!