Hajime Hoshi edited this page Oct 21, 2018 · 12 revisions

Set up desktop environment

Ebiten requires X Window system and you need to install a window manager like gnome3. See the official manual. 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.

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!

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.