Updated Compilation guide (Linux) (markdown)
parent
b2d86c2bb4
commit
46f35f9e12
|
@ -4,33 +4,43 @@ Compilation on Linux and BSD does not have many surprises, as its foundation is
|
|||
- At least one libretro implementation
|
||||
- pkgconfig
|
||||
- Working OpenGL headers (should be included by default, but you might need to install libgl/mesa development packages)
|
||||
- zlib-devel
|
||||
|
||||
|
||||
### Optional dependencies
|
||||
- libxml2 - For XML shaders and cheat support.
|
||||
- freetype - TTF font rendering
|
||||
- libxml2-devel - For XML shaders and cheat support.
|
||||
- freetype-devel - TTF font rendering
|
||||
- ffmpeg/libavcodec - FFmpeg recording
|
||||
- nvidia-cg-toolkit - Cg shaders
|
||||
- libudev-devel
|
||||
- zlib-devel
|
||||
|
||||
Some other libraries can be built support for as well, please refer to `./configure --help`.
|
||||
|
||||
### Building libretro cores
|
||||
You should at least build one libretro implementation so RetroArch can do stuff.
|
||||
There is a [super-project](https://github.com/libretro/libretro-super) that is designed to easily build every libretro port out there. To build every core:
|
||||
### Getting the code
|
||||
```bash
|
||||
git clone git://github.com/libretro/libretro-super.git
|
||||
cd libretro-super
|
||||
sh libretro-fetch.sh
|
||||
sh libretro-build.sh
|
||||
sh libretro-install.sh <path>
|
||||
```
|
||||
|
||||
|
||||
This guide assumes you'd like to install retroarch into a folder called `~/ra`
|
||||
|
||||
### Building RetroArch
|
||||
```bash
|
||||
cd retroarch
|
||||
./configure # Script will autodetect features. Refer to --help if you want to override anything, such as --prefix.
|
||||
make
|
||||
sudo make install
|
||||
make DESTDIR=~/ra install
|
||||
```
|
||||
|
||||
### Building libretro cores
|
||||
You should at least build one libretro implementation so RetroArch can do stuff.
|
||||
There is a [super-project](https://github.com/libretro/libretro-super) that is designed to easily build every libretro port out there. To build every core:
|
||||
```bash
|
||||
cd .. #to libretro-super directory
|
||||
sh libretro-build.sh
|
||||
mkdir ~/ra/cores
|
||||
sh libretro-install.sh ~/ra/cores
|
||||
```
|
||||
|
||||
### Building RetroArch-Phoenix (GUI launcher)
|
||||
|
|
Loading…
Reference in New Issue