Sunday, November 24, 2013

Dolphin Wii & Gamecube Emulator for Fedora 20 Compile

Updated - 02.14.2015

Just as a heads up to myself for future use, below is a rough outline I found on the Dolphin-Emu Linux Compile FAQ. Thanks to the mystery chap who originally posted this.

Start off by installing the needed dependencies to compile (2 total commands, second one is really long).
sudo yum groupinstall "Development Tools" 
sudo yum install git cmake-fedora gcc-c++ wxGTK-devel SDL-devel Cg bluez-libs-devel readline-devel alsa-lib-devel pulseaudio-libs-devel libao-devel glib2-devel openal-soft-devel ffmpeg-devel glew-devel lzo-devel portaudio-devel pango-devel libusb-devel miniupnpc-devel polarssl-devel SFML-devel SDL2-devel SOIL-devel miniupnpc-devel polarssl-devel soundtouch-devel wxGTK3-devel
Next you'll want to make a directory to hold the source code. I made a directory in my home named Source. And don't forget to enter the directory you made (2 total commands).
mkdir ~/Source
cd ~/Source
Now we will download the source from google code's git server (1 total command).
git clone https://github.com/dolphin-emu/dolphin.git dolphin-emu
Time to dive into the source code directory (1 total command).
cd dolphin-emu
Once inside the dolphin-emu directory you'll want to make another directory called build and enter it (2 total commands).
mkdir build
cd build
It is now time to make the magic happen through the wonder of compilation (2 total commands).
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
make
And lastly we'll want to sudo to root and install the program to it's final resting place (1 total command).
sudo make install
Dolphin-emu 4.0-xxx git build on Fedora 20