-
Notifications
You must be signed in to change notification settings - Fork 496
Compiling on FreeBSD
fgsfds edited this page Oct 16, 2023
·
1 revision
Tested on:
- FreeBSD 13.1-RELEASE
- FreeBSD 13.2-RC5
- FreeBSD 13.2-RC6
For each version (Japanese[jp],American[us] or European[eu]) that you would like to build an executable for, copy an existing ROM to ./baserom.<version>.z64
(root of the folder).
The build has several dependencies (for compilation) on FreeBSD:
- python3 (>=3.6) (should be pre-installed on most desktops, but issue
pkg install python3
if unsure) - sdl2 with development headers
- glew with development headers
- gnu make (gmake)
So to install, issue
pkg install gmake sdl2 glew
to install the packages.
Issue gmake
to compile. To enable and disable certain features, either edit the Makefile
or just append some build flags to your gmake
invocation, like so:
gmake BETTERCAMERA=1 EXTERNAL_DATA=1 -j4