Researching Wii U emulation. Licensed under the terms of the GNU General Public License, version 2 or later (GPLv2+).
- Windows with Visual Studio 2015
- Linux with a modern C++11/14 friendly compiler (gcc, clang)
- OS X with homebrew clang, not the one included with Xcode
- 64 bit
- OpenGL 4.5 (using direct state access, available on older OpenGL versions as an extension).
- None
- Open decaf.sln
ReleaseDebug
is recommended for development,Debug
runs too slow andRelease
takes too long to compile
- The cmake builds will depend on your system's zlib, sdl2 and glfw - rather than using submodules like on Windows.
- You need to compile with one or both of GLFW or SDL, you can toggle which ones are enabled by passing flags to cmake:
-DDECAF_GLFW={OFF,ON}
disable / enable compiling with GLFW, enabled by default-DDECAF_SDL={OFF,ON}
disable / enable compiling with SDL, enabled by default
- Requires a modern gcc or clang which supports C++11/14 features
cmake ../decaf-emu && make
- Note we are currently using OpenGL features that OS X does not support, currently this is not a supported platform but it does compile at least.
- Requires clang from homebrew
brew install llvm --with-clang --with-libcxx --with-lld
- Point cmake towards your brew installed clang compiler
cmake ../decaf-emu -DCMAKE_C_COMPILER=/usr/local/opt/llvm/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/opt/llvm/bin/clang++