From c62ee929641ab611d31a2fa1c2c08dd0c7b310ad Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 13 May 2017 14:05:37 +0900 Subject: [PATCH] Updated FreeBSD (markdown) --- FreeBSD.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/FreeBSD.md b/FreeBSD.md index 39e4311..615f36b 100644 --- a/FreeBSD.md +++ b/FreeBSD.md @@ -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`. +# 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/).