Setting up Linux version: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
The following is a guide on how to obtain and compile the PCSX2 source code on the Linux platform.
The following is a guide on how to obtain and compile the PCSX2 source code on the Linux platform.


==Obtaining the Source Code from GitHub==
==Obtaining the Source Code==


PCSX2 is hosted on GitHub, a website where people can contribute to each others' programming projects using the Git version control software. GitHub is essentially just a showcase for your projects, to actually work on them you need to download and install Git itself.
PCSX2 is hosted on GitHub, a website where people can contribute to each others' programming projects using the Git version control software. GitHub is essentially just a showcase for your projects, to actually work on them you need to download and install Git itself.
Line 12: Line 12:
<code>$ git clone https://github.com/PCSX2/pcsx2.git</code>
<code>$ git clone https://github.com/PCSX2/pcsx2.git</code>


You are now making a copy of the remote repository into your own directory.
You are now making a copy of the remote repository into your own directory.<br />


==Installing the Build System==
==Installing the Build System==
Line 18: Line 18:
PCSX2 uses the cmake build system to create project files and other things for multiple platforms, and GCC to compile on the linux platform. To install these you are going to want to run:
PCSX2 uses the cmake build system to create project files and other things for multiple platforms, and GCC to compile on the linux platform. To install these you are going to want to run:


Arch 64: <code># pacman -S cmake gcc-multilib </code>
Arch 64: <code># pacman -S cmake gcc-multilib </code><br />


==Installing the Dependencies==
==Installing the Dependencies==
Line 24: Line 24:
PCSX2 relies on a number of 3rd party software libraries, so you are going to need to obtain those before you can compile the source code.
PCSX2 relies on a number of 3rd party software libraries, so you are going to need to obtain those before you can compile the source code.


Arch 64: <code># pacman -S lib32-alsa-lib lib32-bzip2 lib32-libjpeg lib32-glew lib32-nvidia-cg-toolkit lib32-portaudio lib32-sdl lib32-wxgtk2.8 lib32-libaio</code>
Arch 64: <code># pacman -S lib32-alsa-lib lib32-bzip2 lib32-libjpeg lib32-glew lib32-nvidia-cg-toolkit lib32-portaudio lib32-sdl lib32-wxgtk2.8 lib32-libaio</code><br />


==Compiling the Source==
==Compiling the Source==
ninja
782

edits