Compiling 1.10
Moderator: Forum Moderators
Compiling 1.10
One can compile every series with the current libraries if one checks out the git branch, which contains additional patches, instead of using the latest release. Sometimes one must specify an option for compiling, best have a look at the last few commit messages.Dugi wrote: ↑December 24th, 2018, 8:53 pm […] and Installing Wesnoth 1.10 turned out to be quite hard too, the code was no longer compatible with newer compilers and libraries. When it kept refusing to run, I had to install the windows (32-bit only) version using wine on Linux... and that finally worked. Phew.
In the case of 1.10: Use cmake, scons has only been patched from the 1.12 git branch version on. You can also build the latest 1.10 release if you disable strict compilation.
Edit: if you have already boost 1.69, you might need this workaround (also for compiling current wesnoth) https://github.com/wesnoth/wesnoth/issu ... -446898178
Try out the dark board theme.
Re: Legend of the Invincibles
I know that scons was not very usable back then. I could get it to compile after removing all occurrences ofShiki wrote: ↑December 25th, 2018, 1:33 pmOne can compile every series with the current libraries if one checks out the git branch, which contains additional patches, instead of using the latest release. Sometimes one must specify an option for compiling, best have a look at the last few commit messages.
In the case of 1.10: Use cmake, scons has only been patched from the 1.12 git branch version on. You can also build the latest 1.10 release if you disable strict compilation.
Edit: if you have already boost 1.69, you might need this workaround (also for compiling current wesnoth) https://github.com/wesnoth/wesnoth/issu ... -446898178
-Werror
. Without that, it was failing on errors like function anonymous_function_to_suppress_unused_variable_warning() defined but not used, which was completely ridiculous.But when it compiled, it crashed with this exception:
Code: Select all
./wesnoth --data-dir '/lindata/Downloads/wesnoth-1.10'
Battle for Wesnoth v1.10.0
Started on Wed Dec 26 12:16:02 2018
Overriding data directory with /lindata/Downloads/wesnoth-1.10
Data directory: /lindata/Downloads/wesnoth-1.10
User configuration directory: /home/dugi/.config/wesnoth
User data directory: /home/dugi/.local/share/wesnoth/1.1
Cache directory: /home/dugi/.cache/wesnoth
Checking video mode: 1366x724x32...
setting mode to 1366x724x32
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_create
Aborted (core dumped)
gdb
and try to fix it.Please make a split topic, we're going off topic and this might actually turn out to be useful to someone looking for it.
Re: Compiling 1.10
Works for me, I managed to complete the first part of the tutorial.
Seems you did built 1.10.0, can you try to compile the latest checkout of the 1.10 branch, maybe it was fixed in the meanwhile.
You can use the commands and files from this buildscript: https://aur.archlinux.org/cgit/aur.git/ ... snoth-1.10
@Shivaa, do you refer to Legends of the Invincibles?
Seems you did built 1.10.0, can you try to compile the latest checkout of the 1.10 branch, maybe it was fixed in the meanwhile.
You can use the commands and files from this buildscript: https://aur.archlinux.org/cgit/aur.git/ ... snoth-1.10
@Shivaa, do you refer to Legends of the Invincibles?
Try out the dark board theme.
Re: Compiling 1.10
I think it was 1.10.0.
Re: Compiling 1.10
There's not really a point in compiling older releases of a series besides edge cases (e.g. the translation team went MIA)
Compared to the current situation, wesnoth 1.14.0 won't work with systems which got the boost update, while 1.14.6 will.
The promise of a stable series is that it remains compatible with it's first release.
Compared to the current situation, wesnoth 1.14.0 won't work with systems which got the boost update, while 1.14.6 will.
The promise of a stable series is that it remains compatible with it's first release.
Try out the dark board theme.
Re: Compiling 1.10
The problem lies in the iPhone port. It's still 1.10 and it's being used a lot as far as I know. In order to give my add-on there a slightest bit of support, I need to have 1.10 in order to test it (or buy an iPhone, buy the iPhone version of wesnoth and upload and download the add-on a dozen times until the problem is fixed).
Re: Compiling 1.10
Shiki is right though, you should use latest 1.10, not 1.10.0. When I compiled 1.10 a few months ago I used the latest 1.10 release that was packaged for my distro (I didn't use wine).
Re: Compiling 1.10
My distro (Ubuntu 18.04) has no version of 1.10 packaged, only 1.12 and 1.14. I will check if the latest 1.10 works if I ever need it again.
Re: Compiling 1.10
In this case I'd use the latest wesnoth-1.10 package that ubuntu does have, https://packages.ubuntu.com/trusty/wesnoth-1.10.