how to compile wesnoth on debian ?

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
jemadux
Posts: 5
Joined: December 30th, 2011, 3:01 pm

how to compile wesnoth on debian ?

Post by jemadux »

I am using currently debain stable ... can someone tell me what depencies should i need to compile wesnoth
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: how to compile wesnoth on debian ?

Post by Pentarctagon »

See here.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
revolting_peasant
Posts: 229
Joined: May 29th, 2012, 5:45 pm

Re: how to compile wesnoth on debian ?

Post by revolting_peasant »

Dumb way to do it:

1. install `cmake` (when I say install `something`, I mean `apt-get install something` as root).
2. Download the source tarball
3. Unpack the source tarball
4. In the source root dir, run `cmake -B build`
5. Repeat until build configuration succeeds:
5.1 Note the name of the missing library/program
5.2 `apt-cache search` for that library/program
5.3 install the program or the `-dev` package for the library
6. In the source root dir, run `cmake --build build`

That's it, it's all supposed to be built now inside the `build/` subdir.
Post Reply