Assuming everything was done correctly you should have a working GZDoom application bundle. Open a terminal and cd to the build directory. When you click "Generate", select the Unix Makefiles option. Last step in case you need the compatibility with OSX 10.9: set CMAKE_OSX_DEPLOYMENT_TARGET to "10.9".Īfter all of this, click "Configure" one more time and you should be good. First, disable DYN_OPENAL and click Configure again, then change the OPENAL_INCLUDE_DIR entry to /usr/local/opt/openal-soft/include/AL and the OPENAL_LIBRARY one to /usr/local/opt/openal-soft/lib/libopenal.dylib. It is recommended that the build directory is created inside the source code.Īfter you click Configure, you will end up having to tell CMake where the sound libraries are located, so some options must be changed (you may need to switch to advanced view to see these options). When you run the CMake application, you will be greeted with a window asking for a source code path and a build directory. It is recommended that you use a recent version from the Git repository to compile, but you may use an older version's source from the ZDoom Downloads Page if desired. x8664h defaults to macOS 10.8 and requires clang. If in your Homebrew enviroment the package jpeg is already installed, then jpeg-turbo can be omitted, as it's equivalent. /build.sh by passing -mmacosx-version-min10.x to the compiler by setting the MACOSXDEPLOYMENTTARGET environment variable > 10.9 also defaults to libc++ instead of libstdc++, this behavior can be overriden by explicitly passing -stdliblibstdc++ to clang. To install the jpeg and sound packages, copy and paste the following to the terminal:īrew install jpeg-turbo fluid-synth openal-soft libsndfile mpg123 In case you don't have Xcode Command Line Tools, this can be installed with this command line on the terminal:įor Homebrew, just follow the instructions at Install Homebrew section here. FluidSynth, OpenAL-Soft, libsndfile and mpg123 (note that OpenAL-Soft is different from the OpenAL framework already provided by Apple, not compatible with GZDoom).Homebrew (this must be installed after Xcode Command Line Tools).Xcode Command Line Tools, which contains the compilers and git tools.Xcode 8 and above, the latest one is available here (requires free registration).Mac OS X 10.11 El Capitan and above (it's possible to make the executable compatible with OS X 10.9 Mavericks).A Mac computer supporting OpenGL 3.3 and above (a list is available here).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |