From 57a9b557e9af1b2099665b91c430759a5ca67613 Mon Sep 17 00:00:00 2001 From: danieru Date: Sat, 12 Apr 2014 19:19:48 -0600 Subject: [PATCH 1/2] Add Linux build instructions for Debian & Ubuntu --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 735c9a46db..33eb5a4eb0 100644 --- a/README.md +++ b/README.md @@ -5,17 +5,25 @@ An open-source PlayStation 3 emulator/debugger written in C++. You can find some basic information in the [FAQ](https://github.com/DHrpcs3/rpcs3/wiki/FAQ). For discussion about this emulator and PS3 emulation please visit the [official forums](http://www.emunewz.net/forum/forumdisplay.php?fid=162). -### Dependencies - -* [Visual C++ Redistributable Packages for Visual Studio 2013](http://www.microsoft.com/en-us/download/details.aspx?id=40784) -* [OpenAL32.dll](http://www.mediafire.com/?nwt3ilty2mo) ### Development If you want to contribute please take a took at the [Coding Style](https://github.com/DHrpcs3/rpcs3/wiki/Coding-Style), [Roadmap](https://github.com/DHrpcs3/rpcs3/wiki/Roadmap) and [Developer Information](https://github.com/DHrpcs3/rpcs3/wiki/Developer-Information) pages. You should as well contact any of the developers in the forum in order to know about the current situation of the emulator. + +### Dependencies + +__Windows__ +* [Visual C++ Redistributable Packages for Visual Studio 2013](http://www.microsoft.com/en-us/download/details.aspx?id=40784) +* [OpenAL32.dll](http://www.mediafire.com/?nwt3ilty2mo) + +__Linux__ +* Debian & Ubuntu: `sudo apt-get install libopenal-dev libwxgtk3.0-dev build-essential` + + ### Building To initialize the repository don't forget to execute `git submodule update --init` to pull the wxWidgets source. * __Windows__: Install *Visual Studio 2013*. Then open the *.SLN* file, and press *Build* > *Rebuild Solution*. -* __Linux__: *TODO* +* __Linux__: +`cd rpcs3 && cmake CMakeLists.txt && make && cd ../` Then run `./bin/rpcs3` From b87aa55351bc89d55ff3ddf4d2f70ccc3bb6669c Mon Sep 17 00:00:00 2001 From: danieru Date: Sat, 12 Apr 2014 21:15:09 -0600 Subject: [PATCH 2/2] Fix run instruction hitting CWD bug PCS3 assumes current working directory is bin folder. So running it like ./bin/pcs3 stops it from finding dev_hdd0 and related. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 33eb5a4eb0..37eb72f3d3 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ __Linux__ To initialize the repository don't forget to execute `git submodule update --init` to pull the wxWidgets source. * __Windows__: Install *Visual Studio 2013*. Then open the *.SLN* file, and press *Build* > *Rebuild Solution*. * __Linux__: -`cd rpcs3 && cmake CMakeLists.txt && make && cd ../` Then run `./bin/rpcs3` +`cd rpcs3 && cmake CMakeLists.txt && make && cd ../` Then run with `cd bin && ./rpcs3`