Building Dolphin on Linux: Difference between revisions

Jump to navigation Jump to search
Some phrasing changes in the non-technical portions.
m (moved Compile on linux to Building Dolphin on Linux: Lower case L bugged me. I figured I might as well make a nicer name while at it.)
(Some phrasing changes in the non-technical portions.)
Line 1: Line 1:
=Compile and build Dolphin on Linux=
 
Dolphin is compatible with both 32 and 64 bit Linux distributions. Following instructions explain how to build dolphin on Linux using the cmake build system.
Despite not being listed on the main site, Dolphin is readily available for Linux. You just have to build it yourself. Dolphin is fully compatible with both 32 and 64 bit Linux distributions, so as long as it is Linux, you're good. Here's how to do it, using the cmake build system.


(This howto is based upon the outdated build instruction from the [http://code.google.com/p/dolphin-emu/wiki/Linux_Build project wiki page])
(This howto is based upon the outdated build instruction from the [http://code.google.com/p/dolphin-emu/wiki/Linux_Build project wiki page])


==Step 1 - install the correct dependencies ==  
== Step 1 - Install the Correct Dependencies ==  


'''Ubuntu 12.04'''<br/>
'''Ubuntu 12.04'''<br/>
Line 15: Line 15:
If you run a distribution without aptitude, see the build dependencies in addendum A for a list of packages you'll need to install.
If you run a distribution without aptitude, see the build dependencies in addendum A for a list of packages you'll need to install.


==Step 2 - Get the Dolphin repository==
== Step 2 - Get the Dolphin Repository ==
Install git if you don't have this already.<br/>
Install git if you don't have this already.<br/>
<code>sudo apt-get install git</code>
<code>sudo apt-get install git</code>
Line 28: Line 28:
<code>git pull origin</code>
<code>git pull origin</code>


==Step 3 - Building Dolphin==
== Step 3 - Building Dolphin ==
Create a build subdirectory, and change into it. <br/>
Create a build subdirectory, and change into it. <br/>
<code>mkdir Build && cd Build</code>
<code>mkdir Build && cd Build</code>
Line 46: Line 46:
<code>cmake -Dbindir=../Binary/Linux -Ddatadir=../Binary/Linux  ..</code>
<code>cmake -Dbindir=../Binary/Linux -Ddatadir=../Binary/Linux  ..</code>


==Step 4 - Run Dolphin!==
== Step 4 - Run Dolphin! ==
You can run dolphin from anywhere by typing:<br/>
You can run dolphin from anywhere by typing:<br/>
<code>dolphin-emu</code>
<code>dolphin-emu</code>
Line 52: Line 52:
If you changed the prefix and $prefix/bin is not in your path, then you will have to precede this with the path to the executable.
If you changed the prefix and $prefix/bin is not in your path, then you will have to precede this with the path to the executable.


==FAQ==
== FAQ ==
'''Is there a forum to find answers or ask questions?'''<br>
 
you can go to the official forum [http://forums.dolphin-emulator.com/]. But try to find anwers there before asking anything.
'''Where can I get help?'''<br>
Go to the [http://forums.dolphin-emulator.com/ forums]. Lots of Dolphin users use Linux, and they are very experienced with this process.
<br>
<br>
'''My build failt, what did I do wrong?'''<br>
You pulled the latest build from the repository which sometimes contain errors. Just take a new build tomorrow or the day after when its fixed. If this does not help report your problem on the forum.


==Addendum A - dependencies==
'''My build failed, but I did nothing wrong!''' <br>
Most of the time, any problems in the build process are user error. It's understandable, it is a complicated process and can be quite daunting for a first timer. But sometimes you'll do everything right, triple checked, and it's still not working. It's rare, but sometimes a build will just be bugged. But many of Dolphin devs are Linux users, so just wait a day or so, and it will be sorted out.
 
 
== Addendum A - dependencies ==
This addendum lists the dependencies to build Dolphin.  
This addendum lists the dependencies to build Dolphin.  


Navigation menu