source:
network-game/readme.txt@
7f9b01c
Last change on this file since 7f9b01c was 7f9b01c, checked in by , 6 years ago | |
---|---|
|
|
File size: 810 bytes |
Rev | Line | |
---|---|---|
[50643fa] | 1 | Building client on linux (tested in ubuntu) |
2 | ||
3 | Build a static version of the allegro library | |
4 | http://ventilatorxor.wordpress.com/2011/08/07/linux-allegro5-static-linking-for-beginners/ | |
5 | ||
[0065962] | 6 | CLIENT |
7 | ______ | |
[aee34b9] | 8 | |
[0065962] | 9 | OSX: |
[aee34b9] | 10 | |
[0065962] | 11 | Install MacPorts from https://guide.macports.org/chunked/installing.macports.html |
[aee34b9] | 12 | |
[7f9b01c] | 13 | To install allegro, do the following steps in a separate directory: |
[aee34b9] | 14 | |
[7f9b01c] | 15 | sudo port selfupdate |
16 | sudo port upgrade outdated | |
[0065962] | 17 | sudo port install zlib freetype jpeg libogg physfs libpng flac libtheora +universal |
[7f9b01c] | 18 | // Don't think I need libtheora, don't include +universal for Mojave or higher |
[0065962] | 19 | git clone https://github.com/liballeg/allegro5.git allegro |
20 | cd allegro | |
[7f9b01c] | 21 | mkdir build |
[0065962] | 22 | cd build |
[7f9b01c] | 23 | cmake -DSHARED=0 .. |
[0065962] | 24 | make |
25 | sudo make install | |
[aee34b9] | 26 | |
[7f9b01c] | 27 | Now, go to network-game/client and run: |
[0065962] | 28 | make |
29 | ./gameClient medievaltech.com 8000 | |
[aee34b9] | 30 | |
[0065962] | 31 | SERVER |
[aee34b9] | 32 | ______ |
33 | ||
[0065962] | 34 | coming soon |
Note:
See TracBrowser
for help on using the repository browser.