Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update readme.txt #34

wants to merge 1 commit into from

Conversation

lamppcat
Copy link

@lamppcat lamppcat commented Feb 5, 2017

No description provided.


```
sudo apt-get install python alsa (asound) gl glu x11 libsdl freetype bam
Copy link
Contributor

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 the python3 package
  • alsa: just... wtf?
  • (asound): this doesn't belong here
  • gl glu x11: all this stuff is named differently
  • libsdl: 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
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants