Updated FreeBSD (markdown)

Hajime Hoshi 2017-05-13 14:05:37 +09:00
parent f896cc0f87
commit c62ee92964

@ -2,6 +2,16 @@
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`. 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 dependencies
Install Go via `pkg` command or [the official site](https://golang.org/). Install Go via `pkg` command or [the official site](https://golang.org/).