Skip to content

Instantly share code, notes, and snippets.

@AlexanderRevo
Created January 27, 2020 20:16
Show Gist options
  • Save AlexanderRevo/da5e4b2a4d731ff87a69da8d6a1c2865 to your computer and use it in GitHub Desktop.
Save AlexanderRevo/da5e4b2a4d731ff87a69da8d6a1c2865 to your computer and use it in GitHub Desktop.
Building prboom-plus on macOS
# Kudos to Ribbiks from Doomworld forums, whose post helped me figure out how to get prboom built in the first place.
# Install Xcode from AppStore (you can skip this step if you will be building PrBoom+ without OpenGL support)
# Run Terminal and proceed with the following steps.
# Install Xcode command line tools
xcode-select --install
# Install homebrew (you will need to enter your password for installation)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install automake, autoconf, and libraries needed to build prboom-plus
brew install automake autoconf sdl2 sdl2_net sdl2_image sdl2_mixer libpng pkg-config
# (Optional) Install additional music playback libraries
brew install mad dumb fluid-synth portmidi
# Get prboom-plus source code from the official PrBoom+ repository
svn checkout https://svn.prboom.org/repos/branches/prboom-plus-24/prboom2/
# Enter PrBoom+ directory
cd prboom2
# Configure build step 1
./bootstrap # Re-run this if you installed additional packages after running it the first time
# Configure build step 2.a (to build with OpenGL support)
./configure
# Configure build step 2.b (to build without OpenGL support)
#./configure --disable-gl
# Build PrBoom+
make
# Install PrBoom+ to default location (installs to /usr/local/games/)
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment