Update dependencies in README
- Sorted list of dependencies in alphabetical order - Added mingw-w64-x86_64-mesa to MSYS instructions - Use nproc --all for determining number of make jobs
This commit is contained in:
parent
78208a9728
commit
8cc6b988bf
10
README.md
10
README.md
|
@ -38,7 +38,7 @@ As for the rest, the interface should be pretty straightforward. If you have a q
|
||||||
* Install dependencies:
|
* Install dependencies:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo apt-get install libpcap0.8-dev libcurl4-gnutls-dev libsdl2-dev gtk+-3.0
|
sudo apt-get install gtk+-3.0 libcurl4-gnutls-dev libpcap0.8-dev libsdl2-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
* Compile:
|
* Compile:
|
||||||
|
@ -47,11 +47,9 @@ sudo apt-get install libpcap0.8-dev libcurl4-gnutls-dev libsdl2-dev gtk+-3.0
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make
|
make -j$(nproc --all)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Windows:
|
### Windows:
|
||||||
|
|
||||||
* use CodeBlocks
|
* use CodeBlocks
|
||||||
|
@ -61,7 +59,7 @@ make
|
||||||
1. Install [MSYS2](https://www.msys2.org/)
|
1. Install [MSYS2](https://www.msys2.org/)
|
||||||
2. Open the **MSYS2 MinGW 64-bit** terminal
|
2. Open the **MSYS2 MinGW 64-bit** terminal
|
||||||
3. Update the packages using `pacman -Syu` and reopen the terminal if it asks you to
|
3. Update the packages using `pacman -Syu` and reopen the terminal if it asks you to
|
||||||
4. Install dependencies: `pacman -S mingw-w64-x86_64-{toolchain,SDL2,cmake} make git`
|
4. Install dependencies: `pacman -S git make mingw-w64-x86_64-{cmake,mesa,SDL2,toolchain}`
|
||||||
5. Run the following commands
|
5. Run the following commands
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/Arisotura/melonDS.git
|
git clone https://github.com/Arisotura/melonDS.git
|
||||||
|
@ -69,7 +67,7 @@ make
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -G "MSYS Makefiles"
|
cmake .. -G "MSYS Makefiles"
|
||||||
make -j5
|
make -j$(nproc --all)
|
||||||
../msys-dist.sh
|
../msys-dist.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue