Setting up Linux version: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 28: Line 28:
==Compiling the Source==
==Compiling the Source==


Now that we have installed all external libraries, it is time to compile the source code! To do that, we are going to run a shell script which automates the entire process.


NOTE! There seems to be a small problem in Arch where the cmake cannot find wxgtk. You can fix this by adding these flags to the build script:
NOTE! There seems to be a small problem in Arch where the cmake cannot find wxgtk. You can fix this by adding these flags to the build script:
<br />
<code>-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8'</code>
<code>-DwxWidgets_CONFIG_EXECUTABLE='/usr/bin/wx-config-2.8' -DwxWidgets_wxrc_EXECUTABLE='/usr/bin/wxrc-2.8'</code>


Now that we have installed all external libraries, it is time to compile the source code! To do that, we are going to run a shell script which automates the entire process.<br />
<code>$ cd /home/you/workspace/pcsx2</code><br />
<code>$ cd /home/you/workspace/pcsx2</code><br />
<code>$ sh build.sh<br />
<code>$ sh build.sh</code><br />
 
This process may take several minutes. Once it has finished, you should be able to run the pcsx2 binary:


This process may take several minutes. Once it has finished, you should be able to run the pcsx2 binary:<br />
<code>$ ./<br />
<code>$ ./<br />
ninja
782

edits