Need Help Compiling on Ubuntu
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
Need Help Compiling on Ubuntu
Hello, I am compiling Wesnoth 1.18.5 for Ubuntu and ran into some problems. I have very little experience, so I first attempted to follow this tutorial from 2013, but all of the dependencies were outdated. I searched how to do all of the things, got a concise summary from AI, and installed all of the dependencies twice. I think I installed the dependencies I needed for compiling because now I am compiling with cmake.
Apparently there was an easier way to do this with flatpak, but I could not figure out how to get 1.18.5 for Ubuntu there. Should I share the binary on github when it is done?
One of the problems I ran into was the location of the source and decompression. The wget syntax was bad enough that I could not find it and had to use Firefox to download instead and then untar with the instructions in the readme. If you know what is wrong with this code the AI gave me, please let me know. I think the asterisk is replaced with the version number, but couldn't run wget properly.
Apparently there was an easier way to do this with flatpak, but I could not figure out how to get 1.18.5 for Ubuntu there. Should I share the binary on github when it is done?
One of the problems I ran into was the location of the source and decompression. The wget syntax was bad enough that I could not find it and had to use Firefox to download instead and then untar with the instructions in the readme. If you know what is wrong with this code the AI gave me, please let me know. I think the asterisk is replaced with the version number, but couldn't run wget properly.
Code: Select all
wget www.wesnoth.org # Replace x with latest minor version
tar -xf wesnoth-*.tar.bz2I'm tired.
- Pentarctagon
- Project Manager
- Posts: 5780
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Need Help Compiling on Ubuntu
Rather than AI, see https://github.com/wesnoth/wesnoth/blob ... INSTALL.md. For Ubuntu specifically, you can just copy/paste the apt install commands from https://github.com/wesnoth/wesnoth/blob ... 404-master.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: Need Help Compiling on Ubuntu
I just run
If there are errors, it's just a matter of installing the dependencies (and perhaps forcing a refresh of the cache).
Code: Select all
scons -j (number of concurrent jobs)Soli Deo Gloria