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
|
- At least one libretro implementation
|
||||||
- pkgconfig
|
- pkgconfig
|
||||||
- Working OpenGL headers (should be included by default, but you might need to install libgl/mesa development packages)
|
- Working OpenGL headers (should be included by default, but you might need to install libgl/mesa development packages)
|
||||||
- zlib-devel
|
|
||||||
|
|
||||||
### Optional dependencies
|
### Optional dependencies
|
||||||
- libxml2 - For XML shaders and cheat support.
|
- libxml2-devel - For XML shaders and cheat support.
|
||||||
- freetype - TTF font rendering
|
- freetype-devel - TTF font rendering
|
||||||
- ffmpeg/libavcodec - FFmpeg recording
|
- ffmpeg/libavcodec - FFmpeg recording
|
||||||
- nvidia-cg-toolkit - Cg shaders
|
- nvidia-cg-toolkit - Cg shaders
|
||||||
|
- libudev-devel
|
||||||
|
- zlib-devel
|
||||||
|
|
||||||
Some other libraries can be built support for as well, please refer to `./configure --help`.
|
Some other libraries can be built support for as well, please refer to `./configure --help`.
|
||||||
|
|
||||||
### Building libretro cores
|
### Getting the code
|
||||||
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
|
```bash
|
||||||
git clone git://github.com/libretro/libretro-super.git
|
git clone git://github.com/libretro/libretro-super.git
|
||||||
cd libretro-super
|
cd libretro-super
|
||||||
sh libretro-fetch.sh
|
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
|
### Building RetroArch
|
||||||
```bash
|
```bash
|
||||||
cd retroarch
|
cd retroarch
|
||||||
./configure # Script will autodetect features. Refer to --help if you want to override anything, such as --prefix.
|
./configure # Script will autodetect features. Refer to --help if you want to override anything, such as --prefix.
|
||||||
make
|
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)
|
### Building RetroArch-Phoenix (GUI launcher)
|
||||||
|
|
Loading…
Reference in New Issue