Skip to content

Instantly share code, notes, and snippets.

@npu3pak
Last active May 29, 2022 15:21
Show Gist options
  • Save npu3pak/ef924d10ba770d12296fee8089f5b63b to your computer and use it in GitHub Desktop.
Save npu3pak/ef924d10ba770d12296fee8089f5b63b to your computer and use it in GitHub Desktop.
Compiling dhewm3 for MacOS.
Pre-requirements:
* cmake
* zlib
* libjpeg
* libogg
* libvorbis
* openal-soft
* sdl2
Installation:
git clone git@github.com:dhewm/dhewm3.git
cmake -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include dhewm3/neo
cd dhewm3/neo
xcodebuild -configuration Release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment