-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update readme.txt #34
base: master
Are you sure you want to change the base?
Conversation
|
||
``` | ||
sudo apt-get install python alsa (asound) gl glu x11 libsdl freetype bam |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 thepython3
packagealsa
: just... wtf?(asound)
: this doesn't belong heregl
glu
x11
: all this stuff is named differentlylibsdl
: Ninslash uses SDL2, and we need the development package →libsdl2-dev
freetype
: we need the development package, and also it's named differently →libfreetype6-dev
bam
: 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cd Ninslash
git clone https://github.com/Siile/Ninslash.git | ||
cd ninslash | ||
bam release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx
No description provided.