Wesnoth 1.16.7 Compilation error

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

Moderator: Forum Moderators

Post Reply
User avatar
alberic89
Translator
Posts: 23
Joined: October 12th, 2021, 2:08 pm

Wesnoth 1.16.7 Compilation error

Post by alberic89 »

Hello,
A bug have occurred when I have tried to compile the 1.16.7.
The error :
Spoiler:
I use :

Code: Select all

gcc (Debian 10.2.1-6) 10.2.1 20210110
GNU Make 4.3
cmake version 3.18.4
and an arm64 (aarch64) OS (Raspberry Pi OS).

I don't have retried for the moment.
« Hacker vaillant, rien d’impossible ! »
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Wesnoth 1.16.7 Compilation error

Post by Pentarctagon »

I don't think there's a whole lot we can do about this in Wesnoth since it's an internal compiler error - the compiler itself segfaulted for some reason.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
gnombat
Posts: 706
Joined: June 10th, 2010, 8:49 pm

Re: Wesnoth 1.16.7 Compilation error

Post by gnombat »

As a workaround you could compile with clang.

I believe for cmake you add the option -DCMAKE_CXX_COMPILER=clang
Post Reply