Update readme.txt#34
Conversation
| ## Needed libraries ## | ||
|
|
||
| ``` | ||
| sudo apt-get install python alsa (asound) gl glu x11 libsdl freetype bam |
There was a problem hiding this comment.
I know you have taken all these from the teeworlds wiki page on compilation, but there it only tells you what to install; that's a totally different thing than 'which packages to install'!
Btw, this wiki page gets outdated more and more as time goes by, and it left linux users pretty much alone with what to do ever since. Figuring it out is not that hard though.
python: will install python 2.7 on most systems, but we need python 3.x → install thepython3packagealsa: just... wtf?(asound): this doesn't belong hereglglux11: all this stuff is named differentlylibsdl: Ninslash uses SDL2, and we need the development package →libsdl2-devfreetype: we need the development package, and also it's named differently →libfreetype6-devbam: great, the only correct one…
Fortunately, there is a command that will install all the dependencies we need to build teeworlds (vanilla). In addition to that, we need to install libsdl2-dev for Ninslash. This breaks it down to these two simple commands for installing all dependencies:
sudo apt-get build-dep teeworlds
sudo apt-get install libsdl2-dev
|
|
||
| ``` | ||
| git clone https://github.com/Siile/Ninslash.git | ||
| cd ninslash |
| ``` | ||
| git clone https://github.com/Siile/Ninslash.git | ||
| cd ninslash | ||
| bam release |
There was a problem hiding this comment.
I would rather recommend to use bam client_release to build the client and bam server_release to build the server. This only builds what the user wants, and not all this useless tools stuff nobody wants.
If you want to build both at once, we can put em into one command and additionally enable multiprocessing to get the fastest build time:
bam -j $(nproc) client_release server_release
No description provided.