mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Updated Building OpenRCT2 on Linux (markdown)
@@ -44,14 +44,14 @@ sudo dpkg -i libjansson-dev_2.7-1ubuntu1_i386.deb
|
|||||||
libpng
|
libpng
|
||||||
First, install libpng-dev. Now, OpenRCT2 needs libpng16-dev as well, but these are conflicting packages. To solve this, you will have to download and build them yourself. I've tested this with https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/ but you can use the newest version at https://sourceforge.net/projects/libpng/files/libpng16/ if you so wish.
|
First, install libpng-dev. Now, OpenRCT2 needs libpng16-dev as well, but these are conflicting packages. To solve this, you will have to download and build them yourself. I've tested this with https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/ but you can use the newest version at https://sourceforge.net/projects/libpng/files/libpng16/ if you so wish.
|
||||||
First, cd into /tmp (this will clear on reboot, so either compile it entirely without rebooting or put it somewhere else), and run:
|
First, cd into /tmp (this will clear on reboot, so either compile it entirely without rebooting or put it somewhere else), and run:
|
||||||
'''
|
```
|
||||||
wget https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/libpng-1.6.21.tar.xz/download
|
wget https://sourceforge.net/projects/libpng/files/libpng16/1.6.21/libpng-1.6.21.tar.xz/download
|
||||||
tar -xvf libpng-1.6.21.tar.xz\?r\=https%3A%2%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng16%2F1.6.21%2F
|
tar -xvf libpng-1.6.21.tar.xz\?r\=https%3A%2%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng16%2F1.6.21%2F
|
||||||
cd libpng-1.6.21
|
cd libpng-1.6.21
|
||||||
./configure
|
./configure
|
||||||
make check
|
make check
|
||||||
sudo make install
|
sudo make install
|
||||||
'''
|
```
|
||||||
Now you should have these libraries. [verifying...]
|
Now you should have these libraries. [verifying...]
|
||||||
|
|
||||||
## pacman/yaourt (Arch)
|
## pacman/yaourt (Arch)
|
||||||
|
|||||||
Reference in New Issue
Block a user